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: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
ba4d86a64d
commit
2cb9caa439
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue