net: dsa: mv88e6xxx: Pass interrupt number in platform data
Allow an interrupt number to be passed in the platform data. The driver will then use it if not zero, otherwise it will poll for interrupts. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
3b3600fffb
commit
a27415decd
@@ -13,6 +13,7 @@ struct dsa_mv88e6xxx_pdata {
|
||||
unsigned int enabled_ports;
|
||||
struct net_device *netdev;
|
||||
u32 eeprom_len;
|
||||
int irq;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user