diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/mv88e6xxx.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/platform_data/mv88e6xxx.h b/include/linux/platform_data/mv88e6xxx.h new file mode 100644 index 000000000000..f63af2955ea0 --- /dev/null +++ b/include/linux/platform_data/mv88e6xxx.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 2 | #ifndef __DSA_MV88E6XXX_H | ||
| 3 | #define __DSA_MV88E6XXX_H | ||
| 4 | |||
| 5 | #include <net/dsa.h> | ||
| 6 | |||
| 7 | struct dsa_mv88e6xxx_pdata { | ||
| 8 | /* Must be first, such that dsa_register_switch() can access this | ||
| 9 | * without gory pointer manipulations | ||
| 10 | */ | ||
| 11 | struct dsa_chip_data cd; | ||
| 12 | const char *compatible; | ||
| 13 | unsigned int enabled_ports; | ||
| 14 | struct net_device *netdev; | ||
| 15 | u32 eeprom_len; | ||
| 16 | }; | ||
| 17 | |||
| 18 | #endif | ||
