diff options
author | Fabio Estevam <festevam@denx.de> | 2021-06-17 11:54:15 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-07-14 15:28:43 +0800 |
commit | fb1425b436bcf936065edbbe8d092465a53185b6 (patch) | |
tree | 5762e280789318bad725fb3d4b6a6aeaec8e8553 /drivers/soc/imx/soc-imx8m.c | |
parent | f07ec85365807b3939f32d0094a6dd5ce065d1b9 (diff) |
ARM: imx: common: Move prototype outside the SMP block
Currently the imx_gpcv2_set_core1_pdn_pup_by_software() prototype is
guarded by the CONFIG_SMP symbol. This causes W=1 build warnings when
CONFIG_SMP is not selected:
arch/arm/mach-imx/src.c:103:6: warning: no previous prototype for 'imx_gpcv2_set_core1_pdn_pup_by_software' [-Wmissing-prototypes]
Fix it by moving the imx_gpcv2_set_core1_pdn_pup_by_software() prototype
outside of the CONFIG_SMP block.
Fixes: e34645f45805 ("ARM: imx: add smp support for imx7d")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/imx/soc-imx8m.c')
0 files changed, 0 insertions, 0 deletions