Add hdq and bq27000 driver.
[kernel.git] / include / linux / bq27000_battery.h
1 #ifndef __BQ27000_BATTERY_H__
2 #define __BQ27000_BATTERY_H__
3
4 void bq27000_charging_state_change(struct platform_device *pdev);
5
6 struct bq27000_platform_data {
7         const char      *name;
8         int             rsense_mohms;
9         int (*hdq_read)(int);
10         int (*hdq_write)(int, u8);
11         int (*hdq_initialized)(void);
12         int (*get_charger_online_status)(void);
13         int (*get_charger_active_status)(void);
14 };
15
16 #endif