Subject: [PATCH 3/6] S5PV210: OneNAND: Define OneNAND IRQ if defined

From: [email-masked] (Kyungmin Park)
Date: Wed, 28 Jul 2010 19:12:01 +0900

From: Kyungmin Park <[email-masked]>

Define OneNAND interrupt if defined

Signed-off-by: Kyungmin Park <[email-masked]>
---
 arch/arm/plat-s5p/dev-onenand.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s5p/dev-onenand.c b/arch/arm/plat-s5p/dev-onenand.c
index 4d3eddb..612d166 100644
--- a/arch/arm/plat-s5p/dev-onenand.c
+++ b/arch/arm/plat-s5p/dev-onenand.c
@@ -33,6 +33,13 @@ static struct resource s5pc110_onenand_resources[] = {
 		.end	= S5PC110_PA_ONENAND_DMA + SZ_8K - 1,
 		.flags	= IORESOURCE_MEM,
 	},
+#ifdef IRQ_ONENAND_AUDI
+	[2] = {
+		.start	= IRQ_ONENAND_AUDI,
+		.end	= IRQ_ONENAND_AUDI,
+		.flags	= IORESOURCE_IRQ,
+	},
+#endif
 };
 
 struct platform_device s5pc110_device_onenand = {
-- 
1.5.3.3