aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorShawn Guo <[email protected]>2014-02-18 10:35:05 +0800
committerOlof Johansson <[email protected]>2014-02-18 16:03:43 -0800
commit28a9f3b078c545064dcf4b46d2c6917554d1642e (patch)
treeebb0386dbbc9e76bd4a2c2a8b7a2142faf6046c7 /scripts/gdb/linux
parent24002727ad1d109023f826ead883441a640d62f0 (diff)
ARM: imx6: build pm-imx6q.c independently of CONFIG_PM
When building a kernel image with only CONFIG_CPU_IDLE but no CONFIG_PM, we will get the following link error. LD init/built-in.o arch/arm/mach-imx/built-in.o: In function `imx6q_enter_wait': platform-spi_imx.c:(.text+0x25c0): undefined reference to `imx6q_set_lpm' platform-spi_imx.c:(.text+0x25d4): undefined reference to `imx6q_set_lpm' arch/arm/mach-imx/built-in.o: In function `imx6q_cpuidle_init': platform-spi_imx.c:(.init.text+0x75d4): undefined reference to `imx6q_set_chicken_bit' make[1]: *** [vmlinux] Error 1 Since pm-imx6q.c has been a collection of library functions that access CCM low-power registers used by not only suspend but also cpuidle and other drivers, let's build pm-imx6q.c independently of CONFIG_PM to fix above error. Reported-by: Lucas Stach <[email protected]> Signed-off-by: Shawn Guo <[email protected]> Cc: [email protected] Acked-by: Christian Gmeiner <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions