]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: imx: cpuidle-imx5: Include "cpuidle.h" header file
authorMarco Franchi <marco.franchi@nxp.com>
Mon, 25 Sep 2017 18:55:58 +0000 (15:55 -0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 13 Oct 2017 06:44:05 +0000 (14:44 +0800)
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>
arch/arm/mach-imx/cpuidle-imx5.c

index 3feca526d16b8f1171b445563956be84ce830deb..db0127606aedac65f61cbcf9e326cebfdeca7964 100644 (file)
@@ -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)