diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-02 23:06:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-05 02:07:41 +0200 |
commit | d23a83f2ae4062bfefc2a1a701a1dcb5416b9c61 (patch) | |
tree | 15dd36d06f2e82044b9c0951d7a97e0a07c38410 /drivers/net/dsa/mv88e6xxx/global2.c | |
parent | net: dsa: mv88e6xxx: move the Global 1 macros (diff) | |
download | linux-d23a83f2ae4062bfefc2a1a701a1dcb5416b9c61.tar.xz linux-d23a83f2ae4062bfefc2a1a701a1dcb5416b9c61.zip |
net: dsa: mv88e6xxx: move the Global 2 macros
Move the GLOBAL2_* macros where they belong, in the related global2.h
header.
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, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/global2.c b/drivers/net/dsa/mv88e6xxx/global2.c index 538a8a27d912..d63af31e7840 100644 --- a/drivers/net/dsa/mv88e6xxx/global2.c +++ b/drivers/net/dsa/mv88e6xxx/global2.c @@ -20,8 +20,6 @@ #include "global1.h" /* for GLOBAL_STATUS_IRQ_DEVICE */ #include "global2.h" -#define ADDR_GLOBAL2 0x1c - static int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) { return mv88e6xxx_read(chip, ADDR_GLOBAL2, reg, val); |