Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226459
b: refs/heads/master
c: 00b4ade
h: refs/heads/master
i:
  226457: 4275566
  226455: 072f2fa
v: v3
  • Loading branch information
Paul Walmsley authored and Tony Lindgren committed Dec 7, 2010
1 parent 759aefd commit 86f0229
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52aa8c539dad56728527de664f368915ff44badf
refs/heads/master: 00b4ade1f1968b55bb57a91c1f09a40fc33f72a0
5 changes: 5 additions & 0 deletions trunk/arch/arm/plat-omap/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,15 @@ static inline int omap1_i2c_add_bus(int bus_id)
{
struct platform_device *pdev;
struct omap_i2c_bus_platform_data *pdata;
struct resource *res;

omap1_i2c_mux_pins(bus_id);

pdev = &omap_i2c_devices[bus_id - 1];
res = pdev->resource;
res[0].start = OMAP1_I2C_BASE;
res[0].end = res[0].start + OMAP_I2C_SIZE;
res[1].start = INT_I2C;
pdata = &i2c_pdata[bus_id - 1];

return platform_device_register(pdev);
Expand Down

0 comments on commit 86f0229

Please sign in to comment.