xref: /linux/include/uapi/linux/uleds.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
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 
18 #define LED_MAX_NAME_SIZE	64
19 
20 struct uleds_user_dev {
21 	char name[LED_MAX_NAME_SIZE];
22 	int max_brightness;
23 };
24 
25 #endif /* _UAPI__ULEDS_H_ */
26