From patchwork Fri Jan 3 10:21:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 22889 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1AFE9218E6 for ; Fri, 3 Jan 2014 10:21:47 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id n16sf2246389oag.3 for ; Fri, 03 Jan 2014 02:21:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=QKPIaZxEnDK5VGOeUmfRBj2ZQ//FoQMwnB/GMW0b9ZM=; b=Qj6SHyjJNxvTxHoaSR3LMv6efTQGF08Zc82XruCR3PuqGGCsrMb6sqTW1AtSiI9FKg 3F/EDWUjCByjbbfPVKUgFvotAu3f2TpDwiYFhF2eZyus1/fWfEMxTWR7q7k9B+tzcLb3 0KoiKG5tTas1SNjL6yY0fc/VCsNsh+oq66JcsILQWwF9TKP+XGXuWUfks9Jwc6AxQhih nlRcqLK2s5XBK45DhOwsNqh0Zm3AtrGpyxBUorHytm8nGWwSYW3vVXL+5oXn0PUW6fim cMvmHM+Y8iZaxhlIjPPR2M2BiB/ACrV4bhgCCZXOMHpqN/cE4DBh/F6o5j5Yc57ZyTSM OHdg== X-Gm-Message-State: ALoCoQnTEukNi4HUCXLUZ/L+lRpZmuMMS5zzaXGPxqWAaOSjqPaOaRWBR4B/uzz9F0WNHi+nMvnx X-Received: by 10.182.111.227 with SMTP id il3mr5313868obb.41.1388744506742; Fri, 03 Jan 2014 02:21:46 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.105 with SMTP id j9ls4805492qej.94.gmail; Fri, 03 Jan 2014 02:21:46 -0800 (PST) X-Received: by 10.220.139.136 with SMTP id e8mr16708vcu.34.1388744506573; Fri, 03 Jan 2014 02:21:46 -0800 (PST) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ja16si24757710vec.126.2014.01.03.02.21.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:21:46 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ht17so7621051vcb.18 for ; Fri, 03 Jan 2014 02:21:46 -0800 (PST) X-Received: by 10.52.28.108 with SMTP id a12mr5808825vdh.5.1388744506498; Fri, 03 Jan 2014 02:21:46 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp819341ved; Fri, 3 Jan 2014 02:21:46 -0800 (PST) X-Received: by 10.194.171.34 with SMTP id ar2mr1035806wjc.81.1388744505626; Fri, 03 Jan 2014 02:21:45 -0800 (PST) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mx.google.com with ESMTPS id fp3si564689wic.22.2014.01.03.02.21.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:21:45 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.172 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=74.125.82.172; Received: by mail-we0-f172.google.com with SMTP id p61so13505106wes.31 for ; Fri, 03 Jan 2014 02:21:45 -0800 (PST) X-Received: by 10.180.77.72 with SMTP id q8mr1333327wiw.12.1388744504996; Fri, 03 Jan 2014 02:21:44 -0800 (PST) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id j9sm35023433wjx.18.2014.01.03.02.21.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:21:44 -0800 (PST) From: Viresh Kumar To: rjw@rjwysocki.net Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux@arm.linux.org.uk, Viresh Kumar Subject: [PATCH] cpufreq: arm-big-little: Make driver dependent on CONFIG_BIG_LITTLE Date: Fri, 3 Jan 2014 15:51:39 +0530 Message-Id: X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , arm_big_little cpufreq driver is only used for ARM bigLITTLE platforms and hence must be dependent on CONFIG_BIG_LITTLE. This was highlighted by Russell earlier when he reported this issue: drivers/built-in.o: In function `bL_cpufreq_set_rate': powercap_sys.c:(.text+0x5ed9a0): undefined reference to `bL_switch_request_cb' Reported-by: Russell King Signed-off-by: Viresh Kumar --- drivers/cpufreq/Kconfig.arm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 456ba5e..3275e9c 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -4,7 +4,7 @@ config ARM_BIG_LITTLE_CPUFREQ tristate "Generic ARM big LITTLE CPUfreq driver" - depends on ARM && ARM_CPU_TOPOLOGY && HAVE_CLK + depends on ARM && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK select PM_OPP help This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.