leds-kirkwood-ns2.h 529 B

123456789101112131415161718192021222324
  1. /*
  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. #ifndef __LEDS_KIRKWOOD_NS2_H
  9. #define __LEDS_KIRKWOOD_NS2_H
  10. struct ns2_led {
  11. const char *name;
  12. const char *default_trigger;
  13. unsigned cmd;
  14. unsigned slow;
  15. };
  16. struct ns2_led_platform_data {
  17. int num_leds;
  18. struct ns2_led *leds;
  19. };
  20. #endif /* __LEDS_KIRKWOOD_NS2_H */