xref: /freebsd/sys/dev/led/led.h (revision 74bf4e164ba5851606a27d4feff27717452583e5)
1 /*-
2  * ----------------------------------------------------------------------------
3  * "THE BEER-WARE LICENSE" (Revision 42):
4  * <phk@FreeBSD.org> wrote this file.  As long as you retain this notice you
5  * can do whatever you want with this stuff. If we meet some day, and you think
6  * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
7  * ----------------------------------------------------------------------------
8  *
9  * $FreeBSD$
10  */
11 
12 #ifndef _DEV_LED_H
13 #define _DEV_LED_H
14 
15 typedef	void led_t(void *, int);
16 
17 struct cdev *led_create(led_t *, void *, char const *);
18 void	led_destroy(struct cdev *);
19 
20 #endif
21