Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
power
gpio-charger.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010, Lars-Peter Clausen <
[email protected]
>
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
8
*
9
* You should have received a copy of the GNU General Public License along
10
* with this program; if not, write to the Free Software Foundation, Inc.,
11
* 675 Mass Ave, Cambridge, MA 02139, USA.
12
*
13
*/
14
15
#ifndef __LINUX_POWER_GPIO_CHARGER_H__
16
#define __LINUX_POWER_GPIO_CHARGER_H__
17
18
#include <
linux/power_supply.h
>
19
#include <linux/types.h>
20
30
struct
gpio_charger_platform_data
{
31
const
char
*
name
;
32
enum
power_supply_type
type
;
33
34
int
gpio
;
35
int
gpio_active_low
;
36
37
char
**
supplied_to
;
38
size_t
num_supplicants
;
39
};
40
41
#endif
Generated on Thu Jan 10 2013 14:52:24 for Linux Kernel by
1.8.2