diff options
author | mokopatches <mokopatches@openmoko.org> | 2008-11-19 17:03:18 +0000 |
---|---|---|
committer | warmcat <andy@warmcat.com> | 2008-11-19 17:03:18 +0000 |
commit | 53e151f7b262f68e7df33a86d94f5f27ca2d757f (patch) | |
tree | 63f5d39b11979deab3a93a9e02c96ed47f0eb050 /include | |
parent | ed36a6e47e095f266031f6fb532d1098b4bf42dc (diff) |
bq27000-battery-driver.patch
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bq27000_battery.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/bq27000_battery.h b/include/linux/bq27000_battery.h new file mode 100644 index 00000000000..36b4f20c8db --- /dev/null +++ b/include/linux/bq27000_battery.h @@ -0,0 +1,12 @@ +#ifndef __BQ27000_BATTERY_H__ +#define __BQ27000_BATTERY_H__ + +struct bq27000_platform_data { + const char *name; + int rsense_mohms; + int (*hdq_read)(int); + int (*hdq_write)(int, u8); + int (*hdq_initialized)(void); +}; + +#endif |