uleds.h 734 B

123456789101112131415161718192021222324
  1. /*
  2. * Userspace driver support for the LED subsystem
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef __ULEDS_H_
  15. #define __ULEDS_H_
  16. #define LED_MAX_NAME_SIZE 64
  17. struct uleds_user_dev {
  18. char name[LED_MAX_NAME_SIZE];
  19. int max_brightness;
  20. };
  21. #endif /* __ULEDS_H_ */