1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __DSA_MV88E6XXX_H
3 #define __DSA_MV88E6XXX_H
5 #include <linux/platform_data/dsa.h>
7 struct dsa_mv88e6xxx_pdata {
8 /* Must be first, such that dsa_register_switch() can access this
9 * without gory pointer manipulations
11 struct dsa_chip_data cd;
12 const char *compatible;
13 unsigned int enabled_ports;
14 struct net_device *netdev;