From: Christophe Leroy Date: Thu, 3 Aug 2023 13:56:51 +0000 (+0200) Subject: serial: cpm_uart: Remove stale prototype in powerpc/fsl_soc.c X-Git-Tag: v6.6-rc1~101^2~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80a8f487b9bab0d25536516e75f22c78fa657ff4;p=thirdparty%2Flinux.git serial: cpm_uart: Remove stale prototype in powerpc/fsl_soc.c Commit 0b5cf10691eb ("[POWERPC] 8xx: Convert mpc866ads to the new device binding.") removed last definition of init_smc_ioports(). Remove it. And don't include anymore fs_uart_pd.h which is only included to provide fs_uart_platform_info structure. Signed-off-by: Christophe Leroy Link: https://lore.kernel.org/r/2869659e7faa20b0a506347bc4d1059e22709f19.1691068700.git.christophe.leroy@csgroup.eu Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 68709743450e3..99fc4c3b94fa5 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include @@ -39,7 +38,6 @@ extern void init_fcc_ioports(struct fs_platform_info*); extern void init_fec_ioports(struct fs_platform_info*); -extern void init_smc_ioports(struct fs_uart_platform_info*); static phys_addr_t immrbase = -1; phys_addr_t get_immrbase(void)