diff options
author | Marco Franchi <marco.franchi@nxp.com> | 2017-09-25 20:55:58 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-10-13 08:44:05 +0200 |
commit | 5ea2e8ad00eeba25cf7bd656293567226bec9b67 (patch) | |
tree | 32db0060714c575dc85214c75d1465ca108fd8c9 /arch/arm/mach-imx/cpuidle-imx5.c | |
parent | ARM: imx: 3ds-debugboard: Include "3ds_debugboard.h" header file (diff) | |
download | linux-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.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 @@ #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) |