mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
b1018eb75c
When CONFIG_PM_SLEEP is disabled, the function is not defined,
causing a link failure:
arm-linux-gnueabi-ld: drivers/cpuidle/cpuidle-tegra.o: in function `tegra_cpuidle_probe':
cpuidle-tegra.c:(.text+0x24): undefined reference to `tegra_pmc_get_suspend_mode'
Change the #ifdef check according to the definition.
Fixes:
|
||
---|---|---|
.. | ||
ahb.h | ||
bpmp-abi.h | ||
bpmp.h | ||
common.h | ||
cpuidle.h | ||
emc.h | ||
flowctrl.h | ||
fuse.h | ||
irq.h | ||
ivc.h | ||
mc.h | ||
pm.h | ||
pmc.h |