diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-19 16:55:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-20 19:24:42 +0200 |
commit | 067e474a03c03e0b667cc2ec5ae6a56b8af5ad7d (patch) | |
tree | b05d00a60c8756eef5319d55cc818a19b3b77a53 /drivers/net/dsa/mv88e6xxx/global2.c | |
parent | net: dsa: mv88e6xxx: prefix Global 2 Trunk macros (diff) | |
download | linux-067e474a03c03e0b667cc2ec5ae6a56b8af5ad7d.tar.xz linux-067e474a03c03e0b667cc2ec5ae6a56b8af5ad7d.zip |
net: dsa: mv88e6xxx: prefix Global 2 Device Mapping macros
Prefix and document the Global 2 Device Mapping 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 d821b9591a8f..d5239c4f3a9b 100644 --- a/drivers/net/dsa/mv88e6xxx/global2.c +++ b/drivers/net/dsa/mv88e6xxx/global2.c @@ -73,7 +73,7 @@ static int mv88e6xxx_g2_device_mapping_write(struct mv88e6xxx_chip *chip, { u16 val = (target << 8) | (port & 0xf); - return mv88e6xxx_g2_update(chip, GLOBAL2_DEVICE_MAPPING, val); + return mv88e6xxx_g2_update(chip, MV88E6XXX_G2_DEVICE_MAPPING, val); } static int mv88e6xxx_g2_set_device_mapping(struct mv88e6xxx_chip *chip) |