fix SPI driver, move register out of driver code
[openwrt/staging/yousong.git] / target / linux / brcm63xx / patches-2.6.32 / 190-typo_cpu_features_override.patch
1 Fix typo: CONFIG_BCMCPU_IS_63xx does not exists,
2 CONFIG_BCM63XX_CPU_63xx is the valid config option.
3
4 Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
5 ---
6 .../asm/mach-bcm63xx/cpu-feature-overrides.h | 2 +-
7 1 files changed, 1 insertions(+), 1 deletions(-)
8
9 --- a/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
10 +++ b/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
11 @@ -24,7 +24,7 @@
12 #define cpu_has_smartmips 0
13 #define cpu_has_vtag_icache 0
14
15 -#if !defined(BCMCPU_RUNTIME_DETECT) && (defined(CONFIG_BCMCPU_IS_6348) || defined(CONFIG_CPU_IS_6338) || defined(CONFIG_CPU_IS_BCM6345))
16 +#if !defined(BCMCPU_RUNTIME_DETECT) && (defined(CONFIG_BCM63XX_CPU_6348) || defined(CONFIG_BCM63XX_CPU_6345) || defined(CONFIG_BCM63XX_CPU_6338))
17 #define cpu_has_dc_aliases 0
18 #endif
19