mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-15 09:50:16 +02:00
fb189822fc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15918 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
374 B
C
17 lines
374 B
C
#ifndef __BQ27000_BATTERY_H__
|
|
#define __BQ27000_BATTERY_H__
|
|
|
|
void bq27000_charging_state_change(struct platform_device *pdev);
|
|
|
|
struct bq27000_platform_data {
|
|
const char *name;
|
|
int rsense_mohms;
|
|
int (*hdq_read)(int);
|
|
int (*hdq_write)(int, u8);
|
|
int (*hdq_initialized)(void);
|
|
int (*get_charger_online_status)(void);
|
|
int (*get_charger_active_status)(void);
|
|
};
|
|
|
|
#endif
|