OpenCloudOS-Kernel/arch/sh/include/cpu-sh3/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
..
adc.h
cache.h sh: prefix sh-specific "CCR" and "CCR2" by "SH_" 2014-03-04 07:55:49 -08:00
dac.h sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
dma-register.h dmaengine: shdma: separate DMA headers. 2010-03-02 11:09:04 +09:00
dma.h sh: Tidy up some of the cpu legacy dma header mess. 2012-05-19 18:30:31 +09:00
freq.h
gpio.h sh: Add platform-specific constants for SH7709 2008-12-22 18:42:54 +09:00
mmu_context.h sh: Fix up the SH-3 build. 2010-10-07 02:57:39 +09:00
serial.h serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
sh7720.h sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
watchdog.h