1/* 2 * Copyright 2018, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT license. 4 */ 5#ifndef _FBSD_COMPAT_DEV_LED_LED_H_ 6#define _FBSD_COMPAT_DEV_LED_LED_H_ 7 8 9typedef void led_t(void*, int); 10 11 12static inline struct cdev* 13led_create_state(led_t* func, void* priv, char const* name, int state) 14{ 15 return NULL; 16} 17 18 19static inline struct cdev* 20led_create(led_t* func, void* priv, char const* name) 21{ 22 return NULL; 23} 24 25 26static inline void 27led_destroy(struct cdev* dev) 28{ 29} 30 31 32static inline int 33led_set(char const* name, char const* cmd) 34{ 35 return -1; 36} 37 38 39#endif /* _FBSD_COMPAT_DEV_LED_LED_H_ */ 40