summaryrefslogtreecommitdiffstats
path: root/include/linux/fs_enet_pd.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-08-04 15:30:17 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-08 15:01:30 -0700
commit7a76918371fe04667528142554a3f26a8879e8ab (patch)
treece012dc1be68c612eea684e0fde9079b21c9315c /include/linux/fs_enet_pd.h
parent62e106c802c555801b341885067dd8ffbf96835d (diff)
downloadlinux-7a76918371fe04667528142554a3f26a8879e8ab.tar.gz
linux-7a76918371fe04667528142554a3f26a8879e8ab.tar.bz2
linux-7a76918371fe04667528142554a3f26a8879e8ab.zip
net: fs_enet: Move struct fs_platform_info into fs_enet.h
struct fs_platform_info is only used in fs_enet ethernet driver since commit 3dd82a1ea724 ("[POWERPC] CPM: Always use new binding."). Stale prototypes using fs_platform_info were left over in arch/powerpc/sysdev/fsl_soc.c but they are now removed by previous patch. Move struct fs_platform_info into fs_enet.h Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/f882d6b0b7075d0d8435310634ceaa2cc8e9938f.1691155347.git.christophe.leroy@csgroup.eu Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/fs_enet_pd.h')
-rw-r--r--include/linux/fs_enet_pd.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/fs_enet_pd.h b/include/linux/fs_enet_pd.h
index 2b351b676467..7c9897dab558 100644
--- a/include/linux/fs_enet_pd.h
+++ b/include/linux/fs_enet_pd.h
@@ -110,22 +110,6 @@ struct fs_mii_bb_platform_info {
int irq[32]; /* irqs per phy's */
};
-struct fs_platform_info {
- /* device specific information */
- u32 cp_command; /* CPM page/sblock/mcn */
-
- u32 dpram_offset;
-
- struct device_node *phy_node;
-
- int rx_ring, tx_ring; /* number of buffers on rx */
- int rx_copybreak; /* limit we copy small frames */
- int napi_weight; /* NAPI weight */
-
- int use_rmii; /* use RMII mode */
-
- struct clk *clk_per; /* 'per' clock for register access */
-};
struct fs_mii_fec_platform_info {
u32 irq[32];
u32 mii_speed;