]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: imx6q: export cpuidle functions needed by fec driver
authorShawn Guo <shawnguo@kernel.org>
Tue, 21 Jun 2016 02:30:44 +0000 (10:30 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 21 Jun 2016 02:34:41 +0000 (10:34 +0800)
Export cpuidle functions needed by fec driver to fix the issue below
seen with fec module build.

ERROR: "imx6q_cpuidle_fec_irqs_unused" [drivers/net/ethernet/freescale/fec.ko] undefined!
ERROR: "imx6q_cpuidle_fec_irqs_used" [drivers/net/ethernet/freescale/fec.ko] undefined!

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/cpuidle-imx6q.c

index c3cc8ca8d2ff04927db736ecb46e601cc85901db..eed176e6d65e350c195bd81a8589013394a1d014 100644 (file)
@@ -72,11 +72,13 @@ void imx6q_cpuidle_fec_irqs_used(void)
 {
        imx6q_cpuidle_driver.states[1].disabled = true;
 }
+EXPORT_SYMBOL_GPL(imx6q_cpuidle_fec_irqs_used);
 
 void imx6q_cpuidle_fec_irqs_unused(void)
 {
        imx6q_cpuidle_driver.states[1].disabled = false;
 }
+EXPORT_SYMBOL_GPL(imx6q_cpuidle_fec_irqs_unused);
 
 int __init imx6q_cpuidle_init(void)
 {