MIPS: BCM63xx: Remove !RUNTIME_DETECT code for bcmcpu_get_id
authorJonas Gorski <[email protected]>
Tue, 8 Jul 2014 14:53:24 +0000 (16:53 +0200)
committerRalf Baechle <[email protected]>
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 <[email protected]>
Cc: [email protected]
Cc: John Crispin <[email protected]>
Cc: Maxime Bizon <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Kevin Cernekee <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/7273/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/bcm63xx/cpu.c
arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h