https://github.com/torvalds/linux
Raw File
Tip revision: 31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8 authored by Linus Torvalds on 30 November 2015, 02:58:26 UTC
Linux 4.4-rc3
Tip revision: 31ade3b
max17040_battery.h
/*
 *  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
back to top