]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: imx: build cpuidle-imx6sx.o for imx6ul
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Sep 2016 12:53:25 +0000 (14:53 +0200)
committerShawn Guo <shawnguo@kernel.org>
Thu, 8 Sep 2016 14:12:10 +0000 (22:12 +0800)
commitd64299daf44c7ff57120a379ceb4907f19bbf041
tree1edd5f6b1ae65feb2e35ba8bc644e38be766077b
parent547e8f526959ded88b93dbdbbb6c8549138fefa8
ARM: imx: build cpuidle-imx6sx.o for imx6ul

The imx6ul soc code gained support for cpuidle, but that causes
a link failure if CONFIG_SOC_IMX6SX is disabled:

arch/arm/mach-imx/mach-imx6ul.o: In function `imx6ul_init_late':
mach-imx6ul.c:(.init.text+0xc): undefined reference to `imx6sx_cpuidle_init'

This adds the file containing the imx6sx_cpuidle_init function
to the kernel for 6ul-only configurations.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 547e8f526959 ("ARM: imx: add cpuidle support for i.mx6ul")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Makefile