Skip to contentSkip to conversation

arm/imx: rename MX51_MXC_INT_ATA to MX51_INT_ATA

PATCH New Shawn Guo 2 participants 2 messages Sep 30, 2011

Subsystems (3)
lore
Share & tools
lore

Shawn Guo

author
#0 lore raw

PATCH 1/1 arm/imx: rename MX51_MXC_INT_ATA to MX51_INT_ATA

This change is to fix the compile error below.

CC arch/arm/plat-mxc/devices/platform-pata_imx.o
arch/arm/plat-mxc/devices/platform-pata_imx.c:33:1: error: ?MX51_INT_ATA? undeclared here (not in a function) make[3]: *** [arch/arm/plat-mxc/devices/platform-pata_imx.o] Error 1

---
Sascha,

This is a compile error seen on your imx-features branch.

 arch/arm/plat-mxc/include/mach/mx51.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-mxc/include/mach/mx51.h +1 -1
index dede19a..0d4aa9e 100644
@@ -311,7 +311,7 @@
 #define MX51_MXC_INT_SIM_IPB		67
 #define MX51_MXC_INT_SIM_DAT		68
 #define MX51_MXC_INT_IIM		69
-#define MX51_MXC_INT_ATA		70
+#define MX51_INT_ATA			70
 #define MX51_MXC_INT_CCM1		71
 #define MX51_MXC_INT_CCM2		72
 #define MX51_MXC_INT_GPC1		73
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 arm/imx: rename MX51_MXC_INT_ATA to MX51_INT_ATA

Shawn Guo <[email protected]> writes:

[ adding Uwe Kleine-Koning in CC: ]

Hi,

Quoted 5 lines

This change is to fix the compile error below.

CC arch/arm/plat-mxc/devices/platform-pata_imx.o
arch/arm/plat-mxc/devices/platform-pata_imx.c:33:1: error: ?MX51_INT_ATA? undeclared here (not in a function) make[3]: *** [arch/arm/plat-mxc/devices/platform-pata_imx.o] Error 1

It's weird. All interrupt are supposed to be like MX51_INT_*. At least it does on the old checkout from Sascha's tree here.

The renaming comes from
http://lists.infradead.org/pipermail/linux-arm-kernel/2011-August/059666.html
which afaik has been merged.

Arnaud