https://github.com/torvalds/linux
Raw File
Tip revision: 1048ba83fb1c00cd24172e23e8263972f6b5d9ac authored by Linus Torvalds on 31 January 2021, 21:50:09 UTC
Linux 5.11-rc6
Tip revision: 1048ba8
max17040_battery.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *  Copyright (C) 2009 Samsung Electronics
 *  Minkyu Kang <mk7.kang@samsung.com>
 */

#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