aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_battery.h
blob: 00f7651096ae184e724b7a5b33818ae2a81b2567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __PLATFORM_BATTERY_H__
#define __PLATFORM_BATTERY_H__

struct platform_bat_platform_data {
	const char *name;
	int (**get_property)(void);
	int (*is_present)(void);
	enum power_supply_property *properties;
	size_t num_properties;
};

#endif