diff options
author | Tony Lindgren <tony@atomide.com> | 2011-07-11 05:08:37 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-07-11 05:08:37 -0400 |
commit | e4609747a33b903c03346eea20d811fafd462269 (patch) | |
tree | 8fadc2f1833ae72de0d54dd6f158e26d0f0c99d7 /arch/arm/plat-omap | |
parent | 69d042d168ddc683fb51a3c56b90143a1bc49157 (diff) | |
parent | c84584139aaeef7631df152e13cbf319d8e55950 (diff) |
Merge branch 'prcm-fixes-3.1' of git://git.pwsan.com/linux-2.6 into fixes-part-2
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/i2c.h | 6 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap_hwmod.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/i2c.h b/arch/arm/plat-omap/include/plat/i2c.h index 878d632c4092..7c22b9e10dc3 100644 --- a/arch/arm/plat-omap/include/plat/i2c.h +++ b/arch/arm/plat-omap/include/plat/i2c.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #define __ASM__ARCH_OMAP_I2C_H | 22 | #define __ASM__ARCH_OMAP_I2C_H |
23 | 23 | ||
24 | #include <linux/i2c.h> | 24 | #include <linux/i2c.h> |
25 | #include <linux/i2c-omap.h> | ||
25 | 26 | ||
26 | #if defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE) | 27 | #if defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE) |
27 | extern int omap_register_i2c_bus(int bus_id, u32 clkrate, | 28 | extern int omap_register_i2c_bus(int bus_id, u32 clkrate, |
@@ -46,10 +47,13 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, | |||
46 | */ | 47 | */ |
47 | struct omap_i2c_dev_attr { | 48 | struct omap_i2c_dev_attr { |
48 | u8 fifo_depth; | 49 | u8 fifo_depth; |
49 | u8 flags; | 50 | u32 flags; |
50 | }; | 51 | }; |
51 | 52 | ||
52 | void __init omap1_i2c_mux_pins(int bus_id); | 53 | void __init omap1_i2c_mux_pins(int bus_id); |
53 | void __init omap2_i2c_mux_pins(int bus_id); | 54 | void __init omap2_i2c_mux_pins(int bus_id); |
54 | 55 | ||
56 | struct omap_hwmod; | ||
57 | int omap_i2c_reset(struct omap_hwmod *oh); | ||
58 | |||
55 | #endif /* __ASM__ARCH_OMAP_I2C_H */ | 59 | #endif /* __ASM__ARCH_OMAP_I2C_H */ |
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h index ce06ac6a9709..fafdfe3c8d4e 100644 --- a/arch/arm/plat-omap/include/plat/omap_hwmod.h +++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h | |||
@@ -566,6 +566,7 @@ void omap_hwmod_ocp_barrier(struct omap_hwmod *oh); | |||
566 | 566 | ||
567 | void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs); | 567 | void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs); |
568 | u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs); | 568 | u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs); |
569 | int omap_hwmod_softreset(struct omap_hwmod *oh); | ||
569 | 570 | ||
570 | int omap_hwmod_count_resources(struct omap_hwmod *oh); | 571 | int omap_hwmod_count_resources(struct omap_hwmod *oh); |
571 | int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res); | 572 | int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res); |