diff options
author | Egil Hjelmeland <privat@egil-hjelmeland.no> | 2017-08-05 13:05:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 14:18:01 -0700 |
commit | a368ca537889d6baff24fd05a903c3625f2906cc (patch) | |
tree | 745023da75c21ecc9439448497e45b014a6b32f5 | |
parent | 451d3ca0a0192def659c00f024718d8b59a3ef47 (diff) | |
download | linux-a368ca537889d6baff24fd05a903c3625f2906cc.tar.gz linux-a368ca537889d6baff24fd05a903c3625f2906cc.tar.bz2 linux-a368ca537889d6baff24fd05a903c3625f2906cc.zip |
net: dsa: lan9303: define LAN9303_NUM_PORTS 3
Will be used instead of '3' in upcomming patches.
Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/dsa/lan9303-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c index 77f3cee3af0d..49e3a0cb1b5b 100644 --- a/drivers/net/dsa/lan9303-core.c +++ b/drivers/net/dsa/lan9303-core.c @@ -20,6 +20,8 @@ #include "lan9303.h" +#define LAN9303_NUM_PORTS 3 + /* 13.2 System Control and Status Registers * Multiply register number by 4 to get address offset. */ |