diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 23:11:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 23:11:00 -0400 |
commit | 952414505f55afe5cd6dc004765076aa22b3ed7e (patch) | |
tree | eba11ed702ae02fea7f1a0d422346454fc98296f /arch/arm/plat-omap/i2c.c | |
parent | 68e24ba70465b82ad24e0774ceab5360180d4627 (diff) | |
parent | 3e965b176341b78620f7404fd8b7f9a0d061f8a2 (diff) |
Merge branch 'next/cleanup' of git://git.linaro.org/people/arnd/arm-soc
* 'next/cleanup' of git://git.linaro.org/people/arnd/arm-soc: (125 commits)
ARM: mach-mxs: fix machines' initializers order
mmc: mxcmmc: explicitly includes mach/hardware.h
arm/imx: explicitly includes mach/hardware.h in pm-imx27.c
arm/imx: remove mx27_setup_weimcs() from mx27.h
arm/imx: explicitly includes mach/hardware.h in mach-kzm_arm11_01.c
arm/imx: remove mx31_setup_weimcs() from mx31.h
ARM: tegra: devices.c should include devices.h
ARM: tegra: cpu-tegra: unexport two functions
ARM: tegra: cpu-tegra: sparse type fix
ARM: tegra: dma: staticify some tables and functions
ARM: tegra: tegra2_clocks: don't export some tables
ARM: tegra: tegra_powergate_is_powered should be static
ARM: tegra: tegra_rtc_read_ms should be static
ARM: tegra: tegra_init_cache should be static
ARM: tegra: pcie: 0 -> NULL changes
ARM: tegra: pcie: include board.h
ARM: tegra: pcie: don't cast __iomem pointers
ARM: tegra: tegra2_clocks: 0 -> NULL changes
ARM: tegra: tegra2_clocks: don't cast __iomem pointers
ARM: tegra: timer: don't cast __iomem pointers
...
Fix up trivial conflicts in
arch/arm/mach-omap2/Makefile,
arch/arm/mach-u300/{Makefile.boot,core.c}
arch/arm/plat-{mxc,omap}/devices.c
Diffstat (limited to 'arch/arm/plat-omap/i2c.c')
-rw-r--r-- | arch/arm/plat-omap/i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c index 2388b8eebaaa..a162b2c2ae15 100644 --- a/arch/arm/plat-omap/i2c.c +++ b/arch/arm/plat-omap/i2c.c | |||
@@ -151,7 +151,7 @@ static inline int omap2_i2c_add_bus(int bus_id) | |||
151 | { | 151 | { |
152 | int l; | 152 | int l; |
153 | struct omap_hwmod *oh; | 153 | struct omap_hwmod *oh; |
154 | struct omap_device *od; | 154 | struct platform_device *pdev; |
155 | char oh_name[MAX_OMAP_I2C_HWMOD_NAME_LEN]; | 155 | char oh_name[MAX_OMAP_I2C_HWMOD_NAME_LEN]; |
156 | struct omap_i2c_bus_platform_data *pdata; | 156 | struct omap_i2c_bus_platform_data *pdata; |
157 | struct omap_i2c_dev_attr *dev_attr; | 157 | struct omap_i2c_dev_attr *dev_attr; |
@@ -187,12 +187,12 @@ static inline int omap2_i2c_add_bus(int bus_id) | |||
187 | */ | 187 | */ |
188 | if (cpu_is_omap34xx()) | 188 | if (cpu_is_omap34xx()) |
189 | pdata->set_mpu_wkup_lat = omap_pm_set_max_mpu_wakeup_lat_compat; | 189 | pdata->set_mpu_wkup_lat = omap_pm_set_max_mpu_wakeup_lat_compat; |
190 | od = omap_device_build(name, bus_id, oh, pdata, | 190 | pdev = omap_device_build(name, bus_id, oh, pdata, |
191 | sizeof(struct omap_i2c_bus_platform_data), | 191 | sizeof(struct omap_i2c_bus_platform_data), |
192 | omap_i2c_latency, ARRAY_SIZE(omap_i2c_latency), 0); | 192 | omap_i2c_latency, ARRAY_SIZE(omap_i2c_latency), 0); |
193 | WARN(IS_ERR(od), "Could not build omap_device for %s\n", name); | 193 | WARN(IS_ERR(pdev), "Could not build omap_device for %s\n", name); |
194 | 194 | ||
195 | return PTR_ERR(od); | 195 | return PTR_ERR(pdev); |
196 | } | 196 | } |
197 | #else | 197 | #else |
198 | static inline int omap2_i2c_add_bus(int bus_id) | 198 | static inline int omap2_i2c_add_bus(int bus_id) |