History

net: dsa: remove struct platform_data

This is not used anywhere in the kernel.

Vladimir Oltean committed 7 months ago

Commit b773b991 parent 3723c3b2 files · +0 −22Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/dsa.h+0−17
@@ -48,21 +48,4 @@ struct dsa_chip_data { · 47 unmodified lines
48 s8 rtable[DSA_MAX_SWITCHES];48 s8 rtable[DSA_MAX_SWITCHES];
49};49};
50 50
51struct dsa_platform_data {
52 /*
53 * Reference to a Linux network interface that connects
54 * to the root switch chip of the tree.
55 */
56 struct device *netdev;
57 struct net_device *of_netdev;
58
59 /*
60 * Info structs describing each of the switch chips
61 * connected via this network interface.
62 */
63 int nr_chips;
64 struct dsa_chip_data *chip;
65};
66
67
68#endif /* __DSA_PDATA_H */51#endif /* __DSA_PDATA_H */