aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/chip.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-01-06 17:13:48 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-06 18:30:14 -0800
commit3095383a8ab4cff7d5a891a5293d064b0b4e4874 (patch)
treec602ffbfbb0327a36ada84c370bcb6eb57a99508 /drivers/net/dsa/mv88e6xxx/chip.h
parentMerge branch 'ethtool-allow-nesting-of-begin-and-complete-callbacks' (diff)
downloadlinux-dev-3095383a8ab4cff7d5a891a5293d064b0b4e4874.tar.xz
linux-dev-3095383a8ab4cff7d5a891a5293d064b0b4e4874.zip
net: dsa: mv88e6xxx: Unique IRQ name
Dynamically generate a unique switch interrupt name, based on the device name. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/dsa/mv88e6xxx/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.h b/drivers/net/dsa/mv88e6xxx/chip.h
index 8a8e38bfb161..03aec58513ab 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.h
+++ b/drivers/net/dsa/mv88e6xxx/chip.h
@@ -292,6 +292,7 @@ struct mv88e6xxx_chip {
struct mv88e6xxx_irq g1_irq;
struct mv88e6xxx_irq g2_irq;
int irq;
+ char irq_name[32];
int device_irq;
int watchdog_irq;