ARM: OMAP1: Define OMAP1_INT_I2C locally
authorTony Lindgren <tony@atomide.com>
Wed, 5 Sep 2012 00:43:29 +0000 (17:43 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Sep 2012 01:06:29 +0000 (18:06 -0700)
This is needed to start removing hardcoded IRQs for omap2+.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/i2c.c

index db071bc71c4d61d8e5bd5938eb3e438a06f2b449..40bc06a7ac43685a5ae91b253fe649d7444993f1 100644 (file)
@@ -39,6 +39,7 @@
 
 #define OMAP_I2C_SIZE          0x3f
 #define OMAP1_I2C_BASE         0xfffb3800
+#define OMAP1_INT_I2C          (32 + 4)
 
 static const char name[] = "omap_i2c";
 
@@ -105,7 +106,7 @@ static inline int omap1_i2c_add_bus(int bus_id)
        res = pdev->resource;
        res[0].start = OMAP1_I2C_BASE;
        res[0].end = res[0].start + OMAP_I2C_SIZE;
-       res[1].start = INT_I2C;
+       res[1].start = OMAP1_INT_I2C;
        pdata = &i2c_pdata[bus_id - 1];
 
        /* all OMAP1 have IP version 1 register set */