[PATCH] firmware/drivers/psci: Fix unused functions when CONFIG_CPU_IDLE=n

Daniel Lezcano daniel.lezcano at linaro.org
Tue May 10 01:28:47 PDT 2016


On 05/10/2016 10:22 AM, Lorenzo Pieralisi wrote:
> On Tue, May 10, 2016 at 09:18:49AM +0200, Daniel Lezcano wrote:
>> On the ARM64 architecture, when CPUIDLE is not set in the configuration,
>> the compilation raises a couple of warnings:
>>
>> drivers/firmware/psci.c:70:12: warning: 'psci_pd_power_off' defined but not used [-Wunused-function]
>> drivers/firmware/psci.c:273:12: warning: 'psci_set_suspend_mode_osi' defined but not used [-Wunused-function]
>
> That's not mainline code :)

Ha ha ! Sounds like my scripts are not yet ready :)

Sorry for the noise.

   -- Daniel




More information about the linux-arm-kernel mailing list