power: implement platform battery driver
[kernel.git] / include / linux / platform_battery.h
1 #ifndef __PLATFORM_BATTERY_H__
2 #define __PLATFORM_BATTERY_H__
3
4 struct platform_bat_platform_data {
5         const char *name;
6         int (**get_property)(void);
7         int (*is_present)(void);
8         enum power_supply_property *properties;
9         size_t num_properties;
10 };
11
12 #endif