summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx1
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-11 11:37:24 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-30 13:34:01 +0100
commit7d58289fc315258b4829a29d21c540eb35dd6feb (patch)
treedba3d54b34fbd631065d6c34b212ef8bd3bf17ed /arch/arm/mach-mx1
parentmx25pdk: platform code for the DryIce RTC module (diff)
downloadlinux-7d58289fc315258b4829a29d21c540eb35dd6feb.tar.xz
linux-7d58289fc315258b4829a29d21c540eb35dd6feb.zip
mx1: prefix SOC specific defines with MX1_ and deprecate old names
The old names are defined only if the cpp symbol IMX_NEEDS_DEPRECATED_SYMBOLS exists, which is defined (for now) for all files below arch/arm/mach-mx1. This was done earlier for mx2 and mx3, too. USBD_INT0 is for now defined unconditionally to prevent breaking drivers/usb/gadget/imx_udc. While at it use IMX_IO_ADDRESS to define MX1_IO_ADDRESS which adds a cast to the IO_ADDRESS macro fixing many warnings like arch/arm/mach-mx1/generic.c:51: warning: passing argument 1 of 'mxc_init_irq' makes pointer from integer without a cast . Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx1')
-rw-r--r--arch/arm/mach-mx1/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx1/Makefile b/arch/arm/mach-mx1/Makefile
index 297d17210e11..fc2ddf82441b 100644
--- a/arch/arm/mach-mx1/Makefile
+++ b/arch/arm/mach-mx1/Makefile
@@ -4,6 +4,7 @@
# Object file lists.
+EXTRA_CFLAGS += -DIMX_NEEDS_DEPRECATED_SYMBOLS
obj-y += generic.o clock.o devices.o
# Support for CMOS sensor interface