diff options
author | Andy Green <andy@warmcat.com> | 2011-07-10 07:27:16 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-07-10 07:27:16 -0400 |
commit | 4d4441a6221ca3a30290045b7b696e5134646449 (patch) | |
tree | e500cd69a55ada19ead4d556e6402e3557644d21 /arch/arm/mach-omap2/omap_hwmod_2420_data.c | |
parent | db791a75299bb6212ec984bdbe4ab581dbc07902 (diff) |
I2C: OMAP2+: add correct functionality flags to all omap2plus i2c dev_attr
This adds the new functionality flags for omap i2c unit to all OMAP2
hwmod definitions
Cc: patches@linaro.org
Cc: Ben Dooks <ben-linux@fluff.org>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_2420_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2420_data.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c b/arch/arm/mach-omap2/omap_hwmod_2420_data.c index 95f547cf35d8..7af251448a7e 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c | |||
@@ -1032,7 +1032,12 @@ static struct omap_hwmod_class i2c_class = { | |||
1032 | .rev = OMAP_I2C_IP_VERSION_1, | 1032 | .rev = OMAP_I2C_IP_VERSION_1, |
1033 | }; | 1033 | }; |
1034 | 1034 | ||
1035 | static struct omap_i2c_dev_attr i2c_dev_attr; | 1035 | static struct omap_i2c_dev_attr i2c_dev_attr = { |
1036 | .flags = OMAP_I2C_FLAG_NO_FIFO | | ||
1037 | OMAP_I2C_FLAG_SIMPLE_CLOCK | | ||
1038 | OMAP_I2C_FLAG_16BIT_DATA_REG | | ||
1039 | OMAP_I2C_FLAG_BUS_SHIFT_2, | ||
1040 | }; | ||
1036 | 1041 | ||
1037 | /* I2C1 */ | 1042 | /* I2C1 */ |
1038 | 1043 | ||