Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
0002 /*
0003  * Userspace driver support for the LED subsystem
0004  *
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License as published by
0007  * the Free Software Foundation; either version 2 of the License, or
0008  * (at your option) any later version.
0009  *
0010  * This program is distributed in the hope that it will be useful,
0011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013  * GNU General Public License for more details.
0014  */
0015 #ifndef _UAPI__ULEDS_H_
0016 #define _UAPI__ULEDS_H_
0017 
0018 #define LED_MAX_NAME_SIZE   64
0019 
0020 struct uleds_user_dev {
0021     char name[LED_MAX_NAME_SIZE];
0022     int max_brightness;
0023 };
0024 
0025 #endif /* _UAPI__ULEDS_H_ */