diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-05-01 01:10:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-04 06:55:47 +0300 |
commit | a27415decd84dac124c6185f1184b6c779d0a5ab (patch) | |
tree | f050d6be72526a01be4f54f5cc371357c60e270a /include/linux/platform_data | |
parent | 3b3600fffb437ff5b6331e7dffb98408747b7c12 (diff) | |
download | linux-a27415decd84dac124c6185f1184b6c779d0a5ab.tar.xz |
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>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/mv88e6xxx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/mv88e6xxx.h b/include/linux/platform_data/mv88e6xxx.h index 963730b44aea..21452a9365e1 100644 --- a/include/linux/platform_data/mv88e6xxx.h +++ b/include/linux/platform_data/mv88e6xxx.h @@ -13,6 +13,7 @@ struct dsa_mv88e6xxx_pdata { unsigned int enabled_ports; struct net_device *netdev; u32 eeprom_len; + int irq; }; #endif |