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: 4505931 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C554C9F39B for ; Tue, 8 Jul 2014 15:27:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E505220259 for ; Tue, 8 Jul 2014 15:27:14 +0000 (UTC) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 97DC320218 for ; Tue, 8 Jul 2014 15:27:13 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s68FQF63013563; Tue, 8 Jul 2014 10:26:15 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s68FQELm012895; Tue, 8 Jul 2014 10:26:14 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Tue, 8 Jul 2014 10:26:13 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s68FQC4s005593; Tue, 8 Jul 2014 10:26:12 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id BE01280627; Tue, 8 Jul 2014 10:26:12 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflxv17.itg.ti.com (dflxv17.itg.ti.com [128.247.5.93]) by linux.omap.com (Postfix) with ESMTP id 7BC4080626 for ; Tue, 8 Jul 2014 10:26:09 -0500 (CDT) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflxv17.itg.ti.com (8.14.3/8.13.8) with ESMTP id s68FQ9p8027674 for ; Tue, 8 Jul 2014 10:26:09 -0500 Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by red.ext.ti.com (8.13.7/8.13.7) with ESMTP id s68FQ6S6023291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Jul 2014 10:26:09 -0500 Received: from [216.82.253.163:14540] by server-16.bemta-7.messagelabs.com id 91/AA-15016-E8D0CB35; Tue, 08 Jul 2014 15:26:06 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-9.tower-166.messagelabs.com!1404833164!17167007!1 X-Originating-IP: [74.125.82.52] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14854 invoked from network); 8 Jul 2014 15:26:05 -0000 Received: from mail-wg0-f52.google.com (HELO mail-wg0-f52.google.com) (74.125.82.52) by server-9.tower-166.messagelabs.com with RC4-SHA encrypted SMTP; 8 Jul 2014 15:26:05 -0000 Received: by mail-wg0-f52.google.com with SMTP id b13so6103779wgh.35 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 , , , "Rafael J. Wysocki" 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 CC: X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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