summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/mv88e6xxx/global2.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-06-02 17:06:19 -0400
committerDavid S. Miller <davem@davemloft.net>2017-06-04 20:07:41 -0400
commitd23a83f2ae4062bfefc2a1a701a1dcb5416b9c61 (patch)
tree15dd36d06f2e82044b9c0951d7a97e0a07c38410 /drivers/net/dsa/mv88e6xxx/global2.c
parente097097b2738ba7c6fa26629faa561021f03fa42 (diff)
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.c2
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);