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