diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2009-06-05 15:33:04 +0900 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-06-09 00:53:21 +0400 |
commit | c6f4a42de60b981dd210de01cd3e575835e3158e (patch) | |
tree | a8e5004e4ac8a552237f56df99612b93011099d6 /include | |
parent | cef437e3a9b6d229d4ed3730cde047007267df6d (diff) |
Add MAX17040 Fuel Gauge driver
The MAX17040 is a I2C interfaced Fuel Gauge systems for lithium-ion
batteries This patch adds support the MAX17040 Fuel Gauge
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/max17040_battery.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/max17040_battery.h b/include/linux/max17040_battery.h new file mode 100644 index 00000000000..ad97b06cf93 --- /dev/null +++ b/include/linux/max17040_battery.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2009 Samsung Electronics + * Minkyu Kang <mk7.kang@samsung.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __MAX17040_BATTERY_H_ +#define __MAX17040_BATTERY_H_ + +struct max17040_platform_data { + int (*battery_online)(void); + int (*charger_online)(void); + int (*charger_enable)(void); +}; + +#endif |