-
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.
yaml --- r: 242579 b: refs/heads/master c: 7fb7ba5 h: refs/heads/master i: 242577: f48c480 242575: 9397d4b v: v3
- Loading branch information
Lars-Peter Clausen
committed
Feb 22, 2011
1 parent
47b0592
commit c89c34a
Showing
4 changed files
with
203 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a40402ef0bf3b6e53a7dfd396e9487eb2f613e19 | ||
refs/heads/master: 7fb7ba588c0f276609609565b21fcc853284a9a0 |
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
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,19 @@ | ||
#ifndef __LINUX_BQ27X00_BATTERY_H__ | ||
#define __LINUX_BQ27X00_BATTERY_H__ | ||
|
||
/** | ||
* struct bq27000_plaform_data - Platform data for bq27000 devices | ||
* @name: Name of the battery. If NULL the driver will fallback to "bq27000". | ||
* @read: HDQ read callback. | ||
* This function should provide access to the HDQ bus the battery is | ||
* connected to. | ||
* The first parameter is a pointer to the battery device, the second the | ||
* register to be read. The return value should either be the content of | ||
* the passed register or an error value. | ||
*/ | ||
struct bq27000_platform_data { | ||
const char *name; | ||
int (*read)(struct device *dev, unsigned int); | ||
}; | ||
|
||
#endif |