diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-05-08 19:03:19 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-05-23 05:48:56 +0300 |
commit | 779b56bb679767712761a79232331f8519402e75 (patch) | |
tree | 64260aae21d72dc413d3721b9e0314926dbcb0af | |
parent | ac0cbf9d13dccfd09bebc2f8f5697b6d3ffe27c4 (diff) | |
download | linux-779b56bb679767712761a79232331f8519402e75.tar.xz |
ARM: imx: pm-imx27: Include "common.h"
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@intel.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/mach-imx/pm-imx27.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/pm-imx27.c b/arch/arm/mach-imx/pm-imx27.c index 020e6deb67c8..237e8aa9fe83 100644 --- a/arch/arm/mach-imx/pm-imx27.c +++ b/arch/arm/mach-imx/pm-imx27.c @@ -12,6 +12,7 @@ #include <linux/suspend.h> #include <linux/io.h> +#include "common.h" #include "hardware.h" static int mx27_suspend_enter(suspend_state_t state) |