![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* 0003 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 0004 */ 0005 0006 #ifndef __LINUX_POWER_GPIO_CHARGER_H__ 0007 #define __LINUX_POWER_GPIO_CHARGER_H__ 0008 0009 #include <linux/power_supply.h> 0010 #include <linux/types.h> 0011 0012 /** 0013 * struct gpio_charger_platform_data - platform_data for gpio_charger devices 0014 * @name: Name for the chargers power_supply device 0015 * @type: Type of the charger 0016 * @supplied_to: Array of battery names to which this chargers supplies power 0017 * @num_supplicants: Number of entries in the supplied_to array 0018 */ 0019 struct gpio_charger_platform_data { 0020 const char *name; 0021 enum power_supply_type type; 0022 char **supplied_to; 0023 size_t num_supplicants; 0024 }; 0025 0026 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |