]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: pm-imx27: Include "common.h"
authorFabio Estevam <festevam@gmail.com>
Sat, 8 May 2021 16:03:19 +0000 (13:03 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 May 2021 02:48:56 +0000 (10:48 +0800)
commit9d6475837aa091a72e592bf4a76b34d113ea48a8
tree64260aae21d72dc413d3721b9e0314926dbcb0af
parentd64afd943423dfc653eb1a3d3afce6c3eb41cf1c
ARM: imx: pm-imx27: Include "common.h"

Since commit a9b422aa5721 ("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: a9b422aa5721 ("ARM: imx: Remove i.MX27 board files")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/pm-imx27.c