diff options
Diffstat (limited to 'arch/arm/mach-omap2/i2c.c')
-rw-r--r-- | arch/arm/mach-omap2/i2c.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/i2c.c b/arch/arm/mach-omap2/i2c.c index 4e63097e3cd8..fbb9b152cd5e 100644 --- a/arch/arm/mach-omap2/i2c.c +++ b/arch/arm/mach-omap2/i2c.c | |||
@@ -20,10 +20,11 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "soc.h" | 22 | #include "soc.h" |
23 | #include "common.h" | ||
24 | #include "omap_hwmod.h" | 23 | #include "omap_hwmod.h" |
25 | #include "omap_device.h" | 24 | #include "omap_device.h" |
26 | 25 | ||
26 | #include "prm.h" | ||
27 | #include "common.h" | ||
27 | #include "mux.h" | 28 | #include "mux.h" |
28 | #include "i2c.h" | 29 | #include "i2c.h" |
29 | 30 | ||
@@ -32,9 +33,6 @@ | |||
32 | #define OMAP2_I2C_CON_OFFSET 0x24 | 33 | #define OMAP2_I2C_CON_OFFSET 0x24 |
33 | #define OMAP4_I2C_CON_OFFSET 0xA4 | 34 | #define OMAP4_I2C_CON_OFFSET 0xA4 |
34 | 35 | ||
35 | /* Maximum microseconds to wait for OMAP module to softreset */ | ||
36 | #define MAX_MODULE_SOFTRESET_WAIT 10000 | ||
37 | |||
38 | #define MAX_OMAP_I2C_HWMOD_NAME_LEN 16 | 36 | #define MAX_OMAP_I2C_HWMOD_NAME_LEN 16 |
39 | 37 | ||
40 | static void __init omap2_i2c_mux_pins(int bus_id) | 38 | static void __init omap2_i2c_mux_pins(int bus_id) |