diff options
author | Marco Franchi <marco.franchi@nxp.com> | 2017-09-25 14:55:58 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-10-13 02:44:05 -0400 |
commit | 5ea2e8ad00eeba25cf7bd656293567226bec9b67 (patch) | |
tree | 32db0060714c575dc85214c75d1465ca108fd8c9 | |
parent | 07294a7e6eda86997e323cfb3a215d2bcbdbf453 (diff) |
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>
-rw-r--r-- | arch/arm/mach-imx/cpuidle-imx5.c | 1 |
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 @@ | |||
9 | #include <linux/cpuidle.h> | 9 | #include <linux/cpuidle.h> |
10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
11 | #include <asm/system_misc.h> | 11 | #include <asm/system_misc.h> |
12 | #include "cpuidle.h" | ||
12 | 13 | ||
13 | static int imx5_cpuidle_enter(struct cpuidle_device *dev, | 14 | static int imx5_cpuidle_enter(struct cpuidle_device *dev, |
14 | struct cpuidle_driver *drv, int index) | 15 | struct cpuidle_driver *drv, int index) |