@@ -124,8 +124,6 @@ static struct resource retu_resource[] = {
};
static struct cbus_retu_platform_data nokia770_retu_data = {
- .irq_base = CBUS_RETU_IRQ_BASE,
- .irq_end = CBUS_RETU_IRQ_END,
.devid = CBUS_RETU_DEVICE_ID,
};
@@ -220,8 +220,6 @@ static struct resource retu_resource[] = {
};
static struct cbus_retu_platform_data n8x0_retu_data = {
- .irq_base = CBUS_RETU_IRQ_BASE,
- .irq_end = CBUS_RETU_IRQ_END,
.devid = CBUS_RETU_DEVICE_ID,
};
@@ -419,15 +419,7 @@
#define OMAP_GPMC_NR_IRQS 8
#define OMAP_GPMC_IRQ_END (OMAP_GPMC_IRQ_BASE + OMAP_GPMC_NR_IRQS)
-#define CBUS_RETU_IRQ_BASE OMAP_GPMC_IRQ_END
-#ifdef CONFIG_CBUS_RETU
-#define CBUS_RETU_NR_IRQS 16
-#else
-#define CBUS_RETU_NR_IRQS 0
-#endif
-#define CBUS_RETU_IRQ_END (CBUS_RETU_IRQ_BASE + CBUS_RETU_NR_IRQS)
-
-#define NR_IRQS CBUS_RETU_IRQ_END
+#define NR_IRQS OMAP_GPMC_IRQ_END
#define OMAP_IRQ_BIT(irq) (1 << ((irq) % 32))
@@ -32,8 +32,6 @@ struct cbus_host_platform_data {
};
struct cbus_retu_platform_data {
- int irq_base;
- int irq_end;
int devid;
};
now that we're using sparse IRQs, we don't need to polute <plat/irqs.h> anymore with the dumb IRQ_BASE/IRQ_END definitions. Signed-off-by: Felipe Balbi <balbi@ti.com> --- arch/arm/mach-omap1/board-nokia770.c | 2 -- arch/arm/mach-omap2/board-n8x0.c | 2 -- arch/arm/plat-omap/include/plat/irqs.h | 10 +--------- include/linux/platform_data/cbus.h | 2 -- 4 files changed, 1 insertions(+), 15 deletions(-)