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