enable start-stop-daemon by default, i want to use this to clean up a few init script...
[15.05/openwrt.git] / target / linux / adm5120-2.6 / files / include / linux / gpio_leds.h
1 /*
2  *  $Id$
3  *
4  *  GPIO LEDs platform data structure
5  *
6  *  Copyright (C) 2007 OpenWrt.org
7  *  Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
8  *
9  *  This program is free software; you can redistribute it and/or
10  *  modify it under the terms of the GNU General Public License
11  *  as published by the Free Software Foundation; either version 2
12  *  of the License, or (at your option) any later version.
13  *
14  *  This program is distributed in the hope that it will be useful,
15  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  *  GNU General Public License for more details.
18  *
19  *  You should have received a copy of the GNU General Public License
20  *  along with this program; if not, write to the
21  *  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22  *  Boston, MA  02110-1301, USA.
23  *
24  */
25
26 #ifndef _GPIO_LEDS_H_
27 #define _GPIO_LEDS_H_
28
29 struct gpio_led_platform_data {
30         char *name;
31         char *trigger;
32         unsigned gpio;  /* GPIO line number */
33         int value_off;  /* value to turn LED OFF */
34         int value_on;   /* value to turn LED ON */
35 };
36
37 #endif /* _GPIO_LEDS_H__ */