[PATCH 1/2] glamo-core: remove duplicated (and conflicting) defines

Thibaut Girka thib at sitedethib.com
Fri Sep 24 20:54:10 CEST 2010


---
 drivers/mfd/glamo-core.c |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/drivers/mfd/glamo-core.c b/drivers/mfd/glamo-core.c
index 8880263..88f2109 100644
--- a/drivers/mfd/glamo-core.c
+++ b/drivers/mfd/glamo-core.c
@@ -50,16 +50,6 @@
 
 #define GLAMO_NR_IRQS 9
 
-#define GLAMO_IRQ_HOSTBUS	0
-#define GLAMO_IRQ_JPEG		1
-#define GLAMO_IRQ_MPEG		2
-#define GLAMO_IRQ_MPROC1	3
-#define GLAMO_IRQ_MPROC0	4
-#define GLAMO_IRQ_CMDQUEUE	5
-#define GLAMO_IRQ_2D		6
-#define GLAMO_IRQ_MMC		7
-#define GLAMO_IRQ_RISC		8
-
 /*
  * Glamo internal settings
  *
@@ -209,8 +199,8 @@ static struct resource glamo_mmc_resources[] = {
 				  GLAMO_MMC_BUFFER_SIZE - 1,
 		.flags	= IORESOURCE_MEM
 	}, {
-		.start	= GLAMO_IRQ_MMC,
-		.end	= GLAMO_IRQ_MMC,
+		.start	= GLAMO_IRQIDX_MMC,
+		.end	= GLAMO_IRQIDX_MMC,
 		.flags	= IORESOURCE_IRQ,
 	},
 };
-- 
1.7.1




More information about the openmoko-kernel mailing list