From patchwork Thu Apr 17 09:53:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 339825 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 211111401B5 for ; Thu, 17 Apr 2014 20:04:39 +1000 (EST) Received: from winston.telenet-ops.be (winston.telenet-ops.be [195.130.137.75]) by ozlabs.org (Postfix) with ESMTP id 2CFE314008F for ; Thu, 17 Apr 2014 20:04:07 +1000 (EST) Received: from andre.telenet-ops.be (andre.telenet-ops.be [195.130.132.53]) by winston.telenet-ops.be (Postfix) with ESMTP id D252F1BDDE0 for ; Thu, 17 Apr 2014 11:53:33 +0200 (CEST) Received: from ayla.of.borg ([84.193.72.141]) by andre.telenet-ops.be with bizsmtp id qxtY1n00e32ts5g01xtYbu; Thu, 17 Apr 2014 11:53:33 +0200 Received: from geert by ayla.of.borg with local (Exim 4.76) (envelope-from ) id 1Waj0e-0003ct-6k; Thu, 17 Apr 2014 11:53:32 +0200 From: Geert Uytterhoeven To: "Rafael J. Wysocki" , Viresh Kumar Subject: [PATCH 1/3] cpufreq: ppc: Add missing #include Date: Thu, 17 Apr 2014 11:53:25 +0200 Message-Id: <1397728407-13909-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.7.9.5 Cc: Geert Uytterhoeven , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" If CONFIG_SMP=n, does not include , causing: drivers/cpufreq/ppc-corenet-cpufreq.c: In function 'corenet_cpufreq_cpu_init': drivers/cpufreq/ppc-corenet-cpufreq.c:173:3: error: implicit declaration of function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration] Signed-off-by: Geert Uytterhoeven --- drivers/cpufreq/ppc-corenet-cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c b/drivers/cpufreq/ppc-corenet-cpufreq.c index b7e677be1df0..e78f9c806de4 100644 --- a/drivers/cpufreq/ppc-corenet-cpufreq.c +++ b/drivers/cpufreq/ppc-corenet-cpufreq.c @@ -22,6 +22,8 @@ #include #include +#include + /** * struct cpu_data - per CPU data struct * @parent: the parent node of cpu clock