From patchwork Tue Jul 8 15:25:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 4505911 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E2018BEEAA for ; Tue, 8 Jul 2014 15:26:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 90C40202E5 for ; Tue, 8 Jul 2014 15:26:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0A5B20211 for ; Tue, 8 Jul 2014 15:26:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754617AbaGHP0F (ORCPT ); Tue, 8 Jul 2014 11:26:05 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:57969 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752783AbaGHP0F (ORCPT ); Tue, 8 Jul 2014 11:26:05 -0400 Received: by mail-wi0-f170.google.com with SMTP id cc10so1346507wib.3 for ; Tue, 08 Jul 2014 08:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=dvQVpnl7jBQoRKtUJXQpc7JHG8Sag03emoi22K06FGM=; b=opinJMZ5q9MJw69SS4XkZ9q2wzGlgnKKlPdwlNOTPweE2BgUdEN+bOL4/e+FjFm8HM XPHngqqG0ifuyd4OZWsSAP9Vni6GFscsRHPMbdm85Zlk/UIBtW2NmHmcBKxsRHqUJbZN N+M7hdVe9jqZk3en9udB71aO84TjN6XwR/4wlHxR8HxIvFiwWTbtRSnkeUS+KYYVLdlM QUcdrkzrLXauvX+2tPv1ATAtHO9cTI6bIA4hj+fVgiS44FpedGS6lw1lZA26Zuk2+RrH Ml0UMn17b5u0ech/46/0EXsaR6KGKFTJKrAb388hsZrVIf2BcVTIjvr28ohiW6wTHFZT hG9w== X-Received: by 10.180.36.18 with SMTP id m18mr4682896wij.74.1404833163661; Tue, 08 Jul 2014 08:26:03 -0700 (PDT) Received: from tango-charlie.RL.local ([194.72.83.162]) by mx.google.com with ESMTPSA id i12sm97039847wjr.32.2014.07.08.08.26.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Jul 2014 08:26:03 -0700 (PDT) From: "Lad, Prabhakar" To: Viresh Kumar , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" Cc: Sekhar Nori , davinci-linux-open-source@linux.davincidsp.com, "Lad, Prabhakar" Subject: [PATCH] cpufreq: Makefile: fix compilation for davinci platform Date: Tue, 8 Jul 2014 16:25:38 +0100 Message-Id: <1404833138-8244-1-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From patch with commt-id:8a7b1227e303d7e927214ee0f260041aef44bb58 "cpufreq: davinci: move cpufreq driver to drivers/cpufreq" this added dependancy only for CONFIG_ARCH_DAVINCI_DA850 where as davinci_cpufreq_init() call is used by all davinci platform. This patch fixes following build error: arch/arm/mach-davinci/built-in.o: In function `davinci_init_late': :(.init.text+0x928): undefined reference to `davinci_cpufreq_init' make: *** [vmlinux] Error 1 Signed-off-by: Lad, Prabhakar Acked-by: Viresh Kumar --- drivers/cpufreq/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index 738c8b7..db6d9a2 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -49,7 +49,7 @@ obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ) += arm_big_little.o # LITTLE drivers, so that it is probed last. obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o -obj-$(CONFIG_ARCH_DAVINCI_DA850) += davinci-cpufreq.o +obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += exynos-cpufreq.o obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o