MIPS: BCM63xx: Remove !RUNTIME_DETECT code for bcmcpu_get_id
authorJonas Gorski <jogo@openwrt.org>
Tue, 8 Jul 2014 14:53:24 +0000 (16:53 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 13:25:05 +0000 (15:25 +0200)
commite86ae9e2e0c3badc74c81f3449b9d59513d8845c
treec03dea2f9cc24f0368721bbac3e395d84c7467b6
parent436f302f7b90ce9f1248ff688cbc861ea24372db
MIPS: BCM63xx: Remove !RUNTIME_DETECT code for bcmcpu_get_id

Use the same pattern as with get_*_cpu_type() to allow the compiler
to remove code for non enabled SoC types.

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/7273/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/cpu.c
arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h