26 lines · c
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */2/*3 * Userspace driver support for the LED subsystem4 *5 * This program is free software; you can redistribute it and/or modify6 * it under the terms of the GNU General Public License as published by7 * the Free Software Foundation; either version 2 of the License, or8 * (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 of12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13 * 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 6419 20struct uleds_user_dev {21 char name[LED_MAX_NAME_SIZE];22 int max_brightness;23};24 25#endif /* _UAPI__ULEDS_H_ */26