-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: i2c-sh_mobile bus speed platform data V2
Add support to the i2c-sh_mobile driver for setting the I2C bus speed using platform data. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
- Loading branch information
Magnus Damm
authored and
Ben Dooks
committed
May 11, 2011
1 parent
1082d5d
commit 81f8115
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef __I2C_SH_MOBILE_H__ | ||
#define __I2C_SH_MOBILE_H__ | ||
|
||
#include <linux/platform_device.h> | ||
|
||
struct i2c_sh_mobile_platform_data { | ||
unsigned long bus_speed; | ||
}; | ||
|
||
#endif /* __I2C_SH_MOBILE_H__ */ |