diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-19 10:55:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-20 13:24:43 -0400 |
commit | ed44152f21281120b421b0606ad255ce810a8043 (patch) | |
tree | 658cdafaa9d51bcee147605e248a2956d315aba0 /drivers/net/dsa/mv88e6xxx/global2.c | |
parent | 7fc8c9d5206e8c17eb6d938717dc3cc692d9d72c (diff) | |
download | lwn-ed44152f21281120b421b0606ad255ce810a8043.tar.gz lwn-ed44152f21281120b421b0606ad255ce810a8043.zip |
net: dsa: mv88e6xxx: prefix Global 2 Switch MAC macros
Prefix and document the Global 2 Switch MAC registers macros.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/global2.c')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/global2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/global2.c b/drivers/net/dsa/mv88e6xxx/global2.c index 8621f5893406..0977ba1697a6 100644 --- a/drivers/net/dsa/mv88e6xxx/global2.c +++ b/drivers/net/dsa/mv88e6xxx/global2.c @@ -235,7 +235,7 @@ static int mv88e6xxx_g2_switch_mac_write(struct mv88e6xxx_chip *chip, { u16 val = (pointer << 8) | data; - return mv88e6xxx_g2_update(chip, GLOBAL2_SWITCH_MAC, val); + return mv88e6xxx_g2_update(chip, MV88E6XXX_G2_SWITCH_MAC, val); } int mv88e6xxx_g2_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr) |