Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: fs_enet: Remove stale prototypes from fsl_soc.c

Commit 3dd82a1ea724 ("[POWERPC] CPM: Always use new binding.")
removed last use of init_fec_ioports() and init_fcc_ioports().

Remove stale prototypes then don't include anymore fs_enet_pd.h
which was only included to provide fs_platform_info structure
for the prototypes.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/f2f2db5dce3242eaa4a2aad6c226ba587fb0f513.1691155347.git.christophe.leroy@csgroup.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Christophe Leroy and committed by
Jakub Kicinski
62e106c8 9359a48c

-3
-3
arch/powerpc/sysdev/fsl_soc.c
··· 23 23 #include <linux/phy.h> 24 24 #include <linux/spi/spi.h> 25 25 #include <linux/fsl_devices.h> 26 - #include <linux/fs_enet_pd.h> 27 26 #include <linux/fs_uart_pd.h> 28 27 #include <linux/reboot.h> 29 28 ··· 36 37 #include <asm/cpm2.h> 37 38 #include <asm/fsl_hcalls.h> /* For the Freescale hypervisor */ 38 39 39 - extern void init_fcc_ioports(struct fs_platform_info*); 40 - extern void init_fec_ioports(struct fs_platform_info*); 41 40 extern void init_smc_ioports(struct fs_uart_platform_info*); 42 41 static phys_addr_t immrbase = -1; 43 42