mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
b53 and mv88e6xxx support passing platform_data, and now that we have split the platform_data portion from the main net/dsa.h header file, include only the relevant parts. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
406 B
C
18 lines
406 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __DSA_MV88E6XXX_H
|
|
#define __DSA_MV88E6XXX_H
|
|
|
|
#include <linux/platform_data/dsa.h>
|
|
|
|
struct dsa_mv88e6xxx_pdata {
|
|
/* Must be first, such that dsa_register_switch() can access this
|
|
* without gory pointer manipulations
|
|
*/
|
|
struct dsa_chip_data cd;
|
|
const char *compatible;
|
|
unsigned int enabled_ports;
|
|
struct net_device *netdev;
|
|
u32 eeprom_len;
|
|
};
|
|
|
|
#endif
|