Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86317
b: refs/heads/master
c: 2638676
h: refs/heads/master
i:
  86315: 00afa52
v: v3
  • Loading branch information
David Brownell authored and Jean Delvare committed Feb 24, 2008
1 parent c6765aa commit 2187107
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 104cb574feb3033299568483a3f68031f47e0d43
refs/heads/master: 263867631ea02741baf878ca9faaf94b1563b9d7
9 changes: 8 additions & 1 deletion trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,16 @@ extern void i2c_unregister_device(struct i2c_client *);
* This is done at arch_initcall time, before declaring any i2c adapters.
* Modules for add-on boards must use other calls.
*/
#ifdef CONFIG_I2C_BOARDINFO
extern int
i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned n);

#else
static inline int
i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned n)
{
return 0;
}
#endif

/*
* The following structs are for those who like to implement new bus drivers:
Expand Down

0 comments on commit 2187107

Please sign in to comment.