alistair23-linux/arch/sh/include/cpu-sh4/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 sh: mach-sdk7786: Probe system FPGA area mapping. 2010-01-20 18:25:19 +09:00
cache.h sh: prefix sh-specific "CCR" and "CCR2" by "SH_" 2014-03-04 07:55:49 -08:00
dma-register.h sh: dma: Collect up CHCR of SH7763, SH7764, SH7780 and SH7785 2012-03-28 14:21:36 +09:00
dma.h sh: Tidy up some of the cpu legacy dma header mess. 2012-05-19 18:30:31 +09:00
fpu.h sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
freq.h sh: Add initial support for SH7734 CPU subtype 2012-04-17 16:20:23 +09:00
mmu_context.h sh: Disable MMUCR_AT for SH-4 nommu. 2010-04-07 17:08:32 +09:00
rtc.h sh: Add on-chip RTC support for SH7722. 2008-10-28 18:40:19 +09:00
sh7722.h sh: sh7722: fix Oops: remove empty clock entries 2011-11-24 16:00:03 +09:00
sh7723.h sh: sh7723: Rename GPIO_FN_SIUOSPD to GPIO_FN_SIUAOSPD 2013-01-25 09:24:19 +09:00
sh7724.h Merge branch 'sh/hwblk' into sh-latest 2012-01-12 12:57:41 +09:00
sh7734.h sh: Add initial support for SH7734 CPU subtype 2012-04-17 16:20:23 +09:00
sh7757.h sh: modify the sh_dmae_slave_config for RSPI in setup-sh7757 2012-07-26 14:16:09 +09:00
sh7785.h sh: rework mode pin code 2009-06-11 09:08:53 +03:00
sh7786.h sh: sh7786: Fix port E, G and J GPIOs 2013-01-25 09:24:19 +09:00
shx3.h sh: pinmux support for SH-X3 proto CPUs. 2010-10-02 19:20:51 +09:00
sigcontext.h sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
sq.h sh: Fix up more 64-bit pgprot truncation on SH-X2 TLB. 2010-02-17 13:23:00 +09:00
watchdog.h sh: Add watch-dog register address for SH7722/SH7723/SH7724 2010-03-23 13:19:36 +09:00