Commit 2cb9caa4 authored by Shawn Guo's avatar Shawn Guo

ARM: imx6q: export cpuidle functions needed by fec driver

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ba4d86a6
...@@ -72,11 +72,13 @@ void imx6q_cpuidle_fec_irqs_used(void) ...@@ -72,11 +72,13 @@ void imx6q_cpuidle_fec_irqs_used(void)
{ {
imx6q_cpuidle_driver.states[1].disabled = true; imx6q_cpuidle_driver.states[1].disabled = true;
} }
EXPORT_SYMBOL_GPL(imx6q_cpuidle_fec_irqs_used);
void imx6q_cpuidle_fec_irqs_unused(void) void imx6q_cpuidle_fec_irqs_unused(void)
{ {
imx6q_cpuidle_driver.states[1].disabled = false; imx6q_cpuidle_driver.states[1].disabled = false;
} }
EXPORT_SYMBOL_GPL(imx6q_cpuidle_fec_irqs_unused);
int __init imx6q_cpuidle_init(void) int __init imx6q_cpuidle_init(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment