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