alistair23-linux/arch/sh/kernel/cpu
Geert Uytterhoeven a5f6ea29f9 sh: prefix sh-specific "CCR" and "CCR2" by "SH_"
Commit bcf24e1daa ("mmc: omap_hsmmc: use the generic config for
omap2plus devices"), enabled the build for other platforms for compile
testing.

sh-allmodconfig now fails with:

    include/linux/omap-dma.h:171:8: error: expected identifier before numeric constant
    make[4]: *** [drivers/mmc/host/omap_hsmmc.o] Error 1

This happens because SuperH #defines "CCR", which is one of the enum
values in include/linux/omap-dma.h.  There's a similar issue with "CCR2"
on sh2a.

As "CCR" and "CCR2" are too generic names for global #defines, prefix
them with "SH_" to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-03-04 07:55:49 -08:00
..
irq Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
sh2 sh: Don't set plat_sci_port scbrr_algo_id field 2013-12-24 21:49:43 +09:00
sh2a sh: Don't set plat_sci_port scbrr_algo_id field 2013-12-24 21:49:43 +09:00
sh3 sh: Don't set plat_sci_port scbrr_algo_id field 2013-12-24 21:49:43 +09:00
sh4 sh: Don't set plat_sci_port scbrr_algo_id field 2013-12-24 21:49:43 +09:00
sh4a sh: Don't set plat_sci_port scbrr_algo_id field 2013-12-24 21:49:43 +09:00
sh5 sh: Don't set plat_sci_port scbrr_algo_id field 2013-12-24 21:49:43 +09:00
shmobile SH: cpuidle: Add missing parameter for cpuidle_register() 2013-08-12 11:28:18 +02:00
adc.c
clock-cpg.c sh: move CLKDEV_xxx_ID macro to sh_clk.h 2011-07-11 15:07:25 +09:00
clock.c
fpu.c sh: move fpu_counter into ARCH specific thread_struct 2013-11-13 12:09:13 +09:00
init.c sh: prefix sh-specific "CCR" and "CCR2" by "SH_" 2014-03-04 07:55:49 -08:00
Makefile sh: Add PFC platform device registration helper function 2013-01-25 09:24:23 +09:00
pfc.c sh: Remove unused sh_pfc_register_info() function 2013-01-25 09:24:30 +09:00
proc.c Merge branches 'sh/wdt' and 'sh/rsk-updates' into sh-latest 2012-05-10 17:20:56 +09:00