ARM: imx6: fix missing <soc/imx/cpuidle.h> in cpuidle-imx6q.c
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 21 Jun 2016 12:13:11 +0000 (13:13 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 21 Jun 2016 12:34:46 +0000 (20:34 +0800)
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?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/cpuidle-imx6q.c

index eed176e6d65e350c195bd81a8589013394a1d014..db0f48c4b17efc5f0eed02c983e289766641c456 100644 (file)
@@ -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"