xref: /freebsd/sys/dev/led/led.h (revision 7773002178c8dbc52b44e4d705f07706409af8e4)
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  */
10 
11 #ifndef _DEV_LED_H
12 #define _DEV_LED_H
13 
14 #include <sys/cdefs.h>
15 __FBSDID("$FreeBSD$");
16 
17 typedef	void led_t(void *, int);
18 dev_t led_create(led_t *func, void *priv, char const *name);
19 void led_destroy(dev_t dev);
20 
21 #endif /* _DEV_LED_H */
22