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 _UAPI__ULEDS_H_ 15 #define _UAPI__ULEDS_H_ 16 17 #define LED_MAX_NAME_SIZE 64 18 19 struct uleds_user_dev { 20 char name[LED_MAX_NAME_SIZE]; 21 int max_brightness; 22 }; 23 24 #endif /* _UAPI__ULEDS_H_ */ 25