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