diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-07-08 10:53:21 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-07-30 09:23:32 -0400 |
commit | ee685808243742becae89f5f4553893387543f08 (patch) | |
tree | cbc38023e65a660b33131d798f8fca9751130777 /arch/mips/bcm63xx/dev-spi.c | |
parent | 53a02272e49260713f05c798953c6c9e04be4175 (diff) |
MIPS: BCM63xx: Remove !RUNTIME_DETECT from spi code
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
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/7271/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx/dev-spi.c')
-rw-r--r-- | arch/mips/bcm63xx/dev-spi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/bcm63xx/dev-spi.c b/arch/mips/bcm63xx/dev-spi.c index d12daed749bc..ad448e41e3bd 100644 --- a/arch/mips/bcm63xx/dev-spi.c +++ b/arch/mips/bcm63xx/dev-spi.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <bcm63xx_dev_spi.h> | 18 | #include <bcm63xx_dev_spi.h> |
19 | #include <bcm63xx_regs.h> | 19 | #include <bcm63xx_regs.h> |
20 | 20 | ||
21 | #ifdef BCMCPU_RUNTIME_DETECT | ||
22 | /* | 21 | /* |
23 | * register offsets | 22 | * register offsets |
24 | */ | 23 | */ |
@@ -41,9 +40,6 @@ static __init void bcm63xx_spi_regs_init(void) | |||
41 | BCMCPU_IS_6362() || BCMCPU_IS_6368()) | 40 | BCMCPU_IS_6362() || BCMCPU_IS_6368()) |
42 | bcm63xx_regs_spi = bcm6358_regs_spi; | 41 | bcm63xx_regs_spi = bcm6358_regs_spi; |
43 | } | 42 | } |
44 | #else | ||
45 | static __init void bcm63xx_spi_regs_init(void) { } | ||
46 | #endif | ||
47 | 43 | ||
48 | static struct resource spi_resources[] = { | 44 | static struct resource spi_resources[] = { |
49 | { | 45 | { |