ARM: imx6: fix missing <soc/imx/cpuidle.h> in cpuidle-imx6q.c
Subsystems (3)
PATCH 1/1 ARM: imx6: fix missing <soc/imx/cpuidle.h> in cpuidle-imx6q.c
The <soc/imx/cpuidle.h> file has declarations of two funcitons exported from cpuidle-imx6q.c but it is not included. Fix the following warnings by adding the include:
arch/arm/mach-imx/cpuidle-imx6q.c:71:6: warning: symbol 'imx6q_cpuidle_fec_irqs_used' was not declared. Should it be static? arch/arm/mach-imx/cpuidle-imx6q.c:76:6: warning: symbol 'imx6q_cpuidle_fec_irqs_unused' was not declared. Should it be static?
---
Cc: Shawn Guo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org
--- arch/arm/mach-imx/cpuidle-imx6q.c | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-imx/cpuidle-imx6q.c +2 -0
@@ -10,6 +10,8 @@#include <linux/module.h> #include <asm/cpuidle.h> +#include <soc/imx/cpuidle.h> +#include "common.h" #include "cpuidle.h" #include "hardware.h"
Signature · 1 line
2.8.1
Shawn Guo
AppliedPATCH 1/1 ARM: imx6: fix missing <soc/imx/cpuidle.h> in cpuidle-imx6q.c
Quoted 8 lines · Ben Dooks
The <
soc/imx/cpuidle.h> file has declarations of two funcitons exported fromcpuidle-imx6q.cbut it is not included. Fix the following warnings by adding the include:
arch/arm/mach-imx/cpuidle-imx6q.c:71:6: warning: symbol 'imx6q_cpuidle_fec_irqs_used' was not declared. Should it be static?arch/arm/mach-imx/cpuidle-imx6q.c:76:6: warning: symbol 'imx6q_cpuidle_fec_irqs_unused' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>
Applied, thanks.