WSL2-Linux-Kernel/arch/sh/include/cpu-sh2a/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
..
addrspace.h add addrespace definition for sh2a. 2008-08-04 14:39:19 +09:00
cache.h sh: prefix sh-specific "CCR" and "CCR2" by "SH_" 2014-03-04 07:55:49 -08:00
freq.h
rtc.h
sh7203.h sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
sh7264.h sh: Add pinmux for sh7264 2012-05-10 11:49:58 +09:00
sh7269.h sh: sh7269: Fix LCD pinmux 2012-08-09 13:16:55 +09:00
watchdog.h sh: Provide common CPU headers, prune the SH-2 and SH-2A directories. 2008-07-29 22:46:55 +09:00