[PATCH 3/6] S5PV210: OneNAND: Define OneNAND IRQ if defined
Kyungmin Park
kmpark at infradead.org
Wed Jul 28 06:12:01 EDT 2010
From: Kyungmin Park <kyungmin.park at samsung.com>
Define OneNAND interrupt if defined
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
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
More information about the linux-arm-kernel
mailing list