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
platform_data
leds-s3c24xx.h
Go to the documentation of this file.
1
/* arch/arm/mach-s3c2410/include/mach/leds-gpio.h
2
*
3
* Copyright (c) 2006 Simtec Electronics
4
* http://armlinux.simtec.co.uk/
5
* Ben Dooks <
[email protected]
>
6
*
7
* S3C24XX - LEDs GPIO connector
8
*
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License version 2 as
11
* published by the Free Software Foundation.
12
*/
13
14
#ifndef __ASM_ARCH_LEDSGPIO_H
15
#define __ASM_ARCH_LEDSGPIO_H "leds-gpio.h"
16
17
#define S3C24XX_LEDF_ACTLOW (1<<0)
/* LED is on when GPIO low */
18
#define S3C24XX_LEDF_TRISTATE (1<<1)
/* tristate to turn off */
19
20
struct
s3c24xx_led_platdata
{
21
unsigned
int
gpio
;
22
unsigned
int
flags
;
23
24
char
*
name
;
25
char
*
def_trigger
;
26
};
27
28
#endif
/* __ASM_ARCH_LEDSGPIO_H */
Generated on Thu Jan 10 2013 14:52:20 for Linux Kernel by
1.8.2