mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
Merge git://git.infradead.org/battery-2.6
* git://git.infradead.org/battery-2.6: da9030_battery: Fix race between event handler and monitor Add MAX17040 Fuel Gauge driver w1: ds2760_battery: add support for sleep mode feature w1: ds2760: add support for EEPROM read and write ds2760_battery: cleanups in ds2760_battery_probe()
This commit is contained in:
commit
f27884aead
8 changed files with 420 additions and 17 deletions
19
include/linux/max17040_battery.h
Normal file
19
include/linux/max17040_battery.h
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue