Commit 5ea2e8ad authored by Marco Franchi's avatar Marco Franchi Committed by Shawn Guo

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: default avatarMarco Franchi <marco.franchi@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 07294a7e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment