Thread (2 messages) flat view 2 messages, 2 authors, 2021-07-14

Re: [PATCH] imx: common: Move prototype outside the SMP block

From: Shawn Guo <shawnguo@kernel.org>
Date: 2021-07-14 07:32:00

On Thu, Jun 17, 2021 at 11:54:15AM -0300, Fabio Estevam wrote:
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 <redacted>
Signed-off-by: Fabio Estevam <redacted>
Updated the subject prefix like 'ARM: imx: ...', and applied.

Shawn

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help