mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 18:54:09 +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 |