diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-07-08 10:53:22 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-07-30 09:24:01 -0400 |
commit | e7101c2ae2a6a2b10e9bb256205dfe9100840777 (patch) | |
tree | b001ea67ed47362aad8c9313e8dc4f7ef00059f1 /arch/mips/bcm63xx/dev-enet.c | |
parent | ee685808243742becae89f5f4553893387543f08 (diff) |
MIPS: BCM63xx: Remove !RUNTIME_DETECT usage from enet code
Cc: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/7270/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx/dev-enet.c')
-rw-r--r-- | arch/mips/bcm63xx/dev-enet.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/bcm63xx/dev-enet.c b/arch/mips/bcm63xx/dev-enet.c index 52bc01df9bfe..e8284771d620 100644 --- a/arch/mips/bcm63xx/dev-enet.c +++ b/arch/mips/bcm63xx/dev-enet.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <bcm63xx_io.h> | 14 | #include <bcm63xx_io.h> |
15 | #include <bcm63xx_regs.h> | 15 | #include <bcm63xx_regs.h> |
16 | 16 | ||
17 | #ifdef BCMCPU_RUNTIME_DETECT | ||
18 | static const unsigned long bcm6348_regs_enetdmac[] = { | 17 | static const unsigned long bcm6348_regs_enetdmac[] = { |
19 | [ENETDMAC_CHANCFG] = ENETDMAC_CHANCFG_REG, | 18 | [ENETDMAC_CHANCFG] = ENETDMAC_CHANCFG_REG, |
20 | [ENETDMAC_IR] = ENETDMAC_IR_REG, | 19 | [ENETDMAC_IR] = ENETDMAC_IR_REG, |
@@ -43,9 +42,6 @@ static __init void bcm63xx_enetdmac_regs_init(void) | |||
43 | else | 42 | else |
44 | bcm63xx_regs_enetdmac = bcm6348_regs_enetdmac; | 43 | bcm63xx_regs_enetdmac = bcm6348_regs_enetdmac; |
45 | } | 44 | } |
46 | #else | ||
47 | static __init void bcm63xx_enetdmac_regs_init(void) { } | ||
48 | #endif | ||
49 | 45 | ||
50 | static struct resource shared_res[] = { | 46 | static struct resource shared_res[] = { |
51 | { | 47 | { |