summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/cpuidle-imx5.c
diff options
context:
space:
mode:
authorMarco Franchi <marco.franchi@nxp.com>2017-09-25 20:55:58 +0200
committerShawn Guo <shawnguo@kernel.org>2017-10-13 08:44:05 +0200
commit5ea2e8ad00eeba25cf7bd656293567226bec9b67 (patch)
tree32db0060714c575dc85214c75d1465ca108fd8c9 /arch/arm/mach-imx/cpuidle-imx5.c
parentARM: imx: 3ds-debugboard: Include "3ds_debugboard.h" header file (diff)
downloadlinux-5ea2e8ad00eeba25cf7bd656293567226bec9b67.tar.xz
linux-5ea2e8ad00eeba25cf7bd656293567226bec9b67.zip
ARM: imx: cpuidle-imx5: Include "cpuidle.h" header file
The following build warning is seen with W=1: warning: no previous prototype for ‘imx5_cpuidle_init’ [-Wmissing-prototypes] int __init imx5_cpuidle_init(void) Fix this warning by including "cpuidle.h". Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/cpuidle-imx5.c')
-rw-r--r--arch/arm/mach-imx/cpuidle-imx5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpuidle-imx5.c b/arch/arm/mach-imx/cpuidle-imx5.c
index 3feca526d16b..db0127606aed 100644
--- a/arch/arm/mach-imx/cpuidle-imx5.c
+++ b/arch/arm/mach-imx/cpuidle-imx5.c
@@ -9,6 +9,7 @@
#include <linux/cpuidle.h>
#include <linux/module.h>
#include <asm/system_misc.h>
+#include "cpuidle.h"
static int imx5_cpuidle_enter(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index)