Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226460
b: refs/heads/master
c: be40f7a
h: refs/heads/master
v: v3
  • Loading branch information
Tony Lindgren committed Dec 8, 2010
1 parent 86f0229 commit ca68079
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 00b4ade1f1968b55bb57a91c1f09a40fc33f72a0
refs/heads/master: be40f7a3d7b53c1a44e11b376b4a395d6b91f58d
7 changes: 7 additions & 0 deletions trunk/arch/arm/plat-omap/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ static struct omap_device_pm_latency omap_i2c_latency[] = {
},
};

#ifdef CONFIG_ARCH_OMAP2PLUS
static inline int omap2_i2c_add_bus(int bus_id)
{
int l;
Expand Down Expand Up @@ -166,6 +167,12 @@ static inline int omap2_i2c_add_bus(int bus_id)

return PTR_ERR(od);
}
#else
static inline int omap2_i2c_add_bus(int bus_id)
{
return 0;
}
#endif

static int __init omap_i2c_add_bus(int bus_id)
{
Expand Down

0 comments on commit ca68079

Please sign in to comment.