mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![Minkyu Kang](/assets/img/avatar_default.png)
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>
19 lines
474 B
C
19 lines
474 B
C
/*
|
|
* 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
|