[PATCH] ARM: imx: pm-imx27: Include "common.h"

Shawn Guo shawnguo at kernel.org
Sat May 22 19:49:18 PDT 2021


On Sat, May 08, 2021 at 01:03:19PM -0300, Fabio Estevam wrote:
> Since commit 879c0e5e0ac7 ("ARM: imx: Remove i.MX27 board files")
> the following W=1 build warning is seen:
> 
> arch/arm/mach-imx/pm-imx27.c:40:13: warning: no previous prototype for 'imx27_pm_init' [-Wmissing-prototypes]
> 
> Fix it by including the "common.h" header file, which
> contains the prototype for imx27_pm_init().
> 
> Fixes: 879c0e5e0ac7 ("ARM: imx: Remove i.MX27 board files")
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>

Applied, thanks.



More information about the linux-arm-kernel mailing list