original_kernel/arch/arm/plat-mxc
Tony Lindgren b53e9b5ebd ARM: 5882/1: ARM: Fix uncompress code compile for different defines of flush(void)
Because of the include of the decompress_inflate.c file from
boot/compress/misc.c, there are different flush() defines:

In file included from arch/arm/boot/compressed/misc.c:249:
arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:138:29: error: macro "flush" passed 2 arguments, but takes just 0

Fix this by removing the define of flush() in misc.c for
CONFIG_DEBUG_ICEDCC as it's already defined in mach/uncompress.h,
and that is being included unconditionally.

Also use a static inline function instead of define
for mach-mxc and mach-gemini to avoid similar bug
for those platforms.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-01-18 12:44:51 +00:00
..
include/mach ARM: 5882/1: ARM: Fix uncompress code compile for different defines of flush(void) 2010-01-18 12:44:51 +00:00
Kconfig
Makefile USB: Add EHCI support for MX27 and MX31 based boards 2009-12-11 11:55:18 -08:00
audmux-v1.c
audmux-v2.c
clock.c
cpu.c
devices.c
dma-mx1-mx2.c
ehci.c USB: Add EHCI support for MX27 and MX31 based boards 2009-12-11 11:55:18 -08:00
gpio.c
iomux-mx1-mx2.c
iomux-v3.c
irq.c
pwm.c
system.c
time.c
ulpi.c