diff options
Diffstat (limited to 'arch/arm/plat-omap/i2c.c')
-rw-r--r-- | arch/arm/plat-omap/i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c index db071bc71c4d..6013831a043e 100644 --- a/arch/arm/plat-omap/i2c.c +++ b/arch/arm/plat-omap/i2c.c | |||
@@ -32,13 +32,13 @@ | |||
32 | #include <linux/clk.h> | 32 | #include <linux/clk.h> |
33 | 33 | ||
34 | #include <mach/irqs.h> | 34 | #include <mach/irqs.h> |
35 | #include <plat/mux.h> | ||
36 | #include <plat/i2c.h> | 35 | #include <plat/i2c.h> |
37 | #include <plat/omap-pm.h> | 36 | #include <plat/omap-pm.h> |
38 | #include <plat/omap_device.h> | 37 | #include <plat/omap_device.h> |
39 | 38 | ||
40 | #define OMAP_I2C_SIZE 0x3f | 39 | #define OMAP_I2C_SIZE 0x3f |
41 | #define OMAP1_I2C_BASE 0xfffb3800 | 40 | #define OMAP1_I2C_BASE 0xfffb3800 |
41 | #define OMAP1_INT_I2C (32 + 4) | ||
42 | 42 | ||
43 | static const char name[] = "omap_i2c"; | 43 | static const char name[] = "omap_i2c"; |
44 | 44 | ||
@@ -105,7 +105,7 @@ static inline int omap1_i2c_add_bus(int bus_id) | |||
105 | res = pdev->resource; | 105 | res = pdev->resource; |
106 | res[0].start = OMAP1_I2C_BASE; | 106 | res[0].start = OMAP1_I2C_BASE; |
107 | res[0].end = res[0].start + OMAP_I2C_SIZE; | 107 | res[0].end = res[0].start + OMAP_I2C_SIZE; |
108 | res[1].start = INT_I2C; | 108 | res[1].start = OMAP1_INT_I2C; |
109 | pdata = &i2c_pdata[bus_id - 1]; | 109 | pdata = &i2c_pdata[bus_id - 1]; |
110 | 110 | ||
111 | /* all OMAP1 have IP version 1 register set */ | 111 | /* all OMAP1 have IP version 1 register set */ |