Simon Guinot | 11efe71 | 2010-07-06 16:08:46 +0200 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-kirkwood/include/mach/leds-ns2.h |
| 3 | * |
| 4 | * Platform data structure for Network Space v2 LED driver |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public |
| 7 | * License version 2. This program is licensed "as is" without any |
| 8 | * warranty of any kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __MACH_LEDS_NS2_H |
| 12 | #define __MACH_LEDS_NS2_H |
| 13 | |
| 14 | struct ns2_led { |
| 15 | const char *name; |
| 16 | const char *default_trigger; |
| 17 | unsigned cmd; |
| 18 | unsigned slow; |
| 19 | }; |
| 20 | |
| 21 | struct ns2_led_platform_data { |
| 22 | int num_leds; |
| 23 | struct ns2_led *leds; |
| 24 | }; |
| 25 | |
| 26 | #endif /* __MACH_LEDS_NS2_H */ |