Commit 936e0f2f authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP1: Define OMAP1_INT_I2C locally

This is needed to start removing hardcoded IRQs for omap2+.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9ee07317
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#define OMAP_I2C_SIZE 0x3f #define OMAP_I2C_SIZE 0x3f
#define OMAP1_I2C_BASE 0xfffb3800 #define OMAP1_I2C_BASE 0xfffb3800
#define OMAP1_INT_I2C (32 + 4)
static const char name[] = "omap_i2c"; static const char name[] = "omap_i2c";
...@@ -105,7 +106,7 @@ static inline int omap1_i2c_add_bus(int bus_id) ...@@ -105,7 +106,7 @@ static inline int omap1_i2c_add_bus(int bus_id)
res = pdev->resource; res = pdev->resource;
res[0].start = OMAP1_I2C_BASE; res[0].start = OMAP1_I2C_BASE;
res[0].end = res[0].start + OMAP_I2C_SIZE; 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]; pdata = &i2c_pdata[bus_id - 1];
/* all OMAP1 have IP version 1 register set */ /* all OMAP1 have IP version 1 register set */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment