From: Marco Franchi Date: Mon, 25 Sep 2017 18:55:58 +0000 (-0300) Subject: ARM: imx: cpuidle-imx5: Include "cpuidle.h" header file X-Git-Tag: v5.15~9980^2~6^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ea2e8ad00eeba25cf7bd656293567226bec9b67;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/cpuidle-imx5.c b/arch/arm/mach-imx/cpuidle-imx5.c index 3feca52..db01276 100644 --- a/arch/arm/mach-imx/cpuidle-imx5.c +++ b/arch/arm/mach-imx/cpuidle-imx5.c @@ -9,6 +9,7 @@ #include #include #include +#include "cpuidle.h" static int imx5_cpuidle_enter(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index)