diff mbox

[v2,1/2] ARM: mx5/mx51_3ds: Fix build due to missing header and wrong define

Message ID 1307212185-18184-1-git-send-email-festevam@gmail.com
State New
Headers show

Commit Message

Fabio Estevam June 4, 2011, 6:29 p.m. UTC
commit b50d28 (ARM i.MX: get rid of wrong MXC_INTERNAL_IRQ usage) broke mx51_3ds build.

Fix it by adding the missing gpio header and also removed the extra parenthesis for 
EXPIO_PARENT_INT definition.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- removed extra parenthesis in EXPIO_PARENT_INT

 arch/arm/mach-mx5/board-mx51_3ds.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/mach-mx5/board-mx51_3ds.c b/arch/arm/mach-mx5/board-mx51_3ds.c
index 288965d..befcbad 100644
--- a/arch/arm/mach-mx5/board-mx51_3ds.c
+++ b/arch/arm/mach-mx5/board-mx51_3ds.c
@@ -13,6 +13,7 @@ 
 #include <linux/irq.h>
 #include <linux/platform_device.h>
 #include <linux/spi/spi.h>
+#include <linux/gpio.h>
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
@@ -26,7 +27,7 @@ 
 #include "devices-imx51.h"
 #include "devices.h"
 
-#define EXPIO_PARENT_INT	gpio_to_irq((IMX_GPIO_NR(1, 6))
+#define EXPIO_PARENT_INT	gpio_to_irq(IMX_GPIO_NR(1, 6))
 #define MX51_3DS_ECSPI2_CS	(GPIO_PORTC + 28)
 
 static iomux_v3_cfg_t mx51_3ds_pads[] = {