From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751834AbbIOHj3 (ORCPT ); Tue, 15 Sep 2015 03:39:29 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33053 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750698AbbIOHj1 (ORCPT ); Tue, 15 Sep 2015 03:39:27 -0400 Date: Tue, 15 Sep 2015 13:09:21 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Kristen Carlson Accardi , open list , Sudeep Holla Subject: Re: [PATCH] cpufreq: pass policy to ->get() driver callback Message-ID: <20150915073921.GA6350@linux> References: <98e79b26d8250c33001c7a50378b0e288b8511db.1438339396.git.viresh.kumar@linaro.org> <11470100.cEo24Tpcgr@vostro.rjw.lan> <20150910012222.GN5266@linux> <1725227.VMGKuhRxma@vostro.rjw.lan> <20150911161802.GR9650@linux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150911161802.GR9650@linux> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-09-15, 21:48, Viresh Kumar wrote: > > -/* Only for cpufreq core internal use */ > > struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu) > > { > > struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); > > > > return policy && cpumask_test_cpu(cpu, policy->cpus) ? policy : NULL; > > } > > +EXPORT_SYMBOL_GPL(cpufreq_cpu_get_raw); This routine was recently marked as static and now with your patch it results in compilation error. You just need to remove the 'static' part from the routine. I would have sent a patch for this, but I thought you would like to edit the original patch itself to not break git bisect. -- viresh