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

From: Daniel Lezcano
Date: Tue May 10 2016 - 04:28:57 EST


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