uleds.h 813 B

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