Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87286
b: refs/heads/master
c: 9be401a
h: refs/heads/master
v: v3
  • Loading branch information
Kyungmin Park authored and Tony Lindgren committed Mar 5, 2008
1 parent bfb17c0 commit 79e14ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfa9a63a9ad25fd3d3218a4e95f5a93090669f3c
refs/heads/master: 9be401a2aee69a63c88a0b91d73d3a8db091abda
9 changes: 6 additions & 3 deletions trunk/include/asm-arm/arch-omap/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
#ifndef __ARCH_ARM_MACH_OMAP_COMMON_H
#define __ARCH_ARM_MACH_OMAP_COMMON_H

#ifdef CONFIG_I2C_OMAP
#include <linux/i2c.h>
#endif

struct sys_timer;

Expand All @@ -41,7 +39,12 @@ extern int omap_register_i2c_bus(int bus_id, u32 clkrate,
struct i2c_board_info const *info,
unsigned len);
#else
#define omap_register_i2c_bus(a, b, c, d) 0
static inline int omap_register_i2c_bus(int bus_id, u32 clkrate,
struct i2c_board_info const *info,
unsigned len)
{
return 0;
}
#endif

#endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */

0 comments on commit 79e14ed

Please sign in to comment.