mirror of https://gitee.com/openkylin/linux.git
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 |