Files
HiSTBLinuxV100R005C00SPC060/source/component/hal/include/tvos_hal_linux_adapter.h
T
2024-08-12 23:03:27 +08:00

37 lines
531 B
C
Executable File

#ifndef __TVOS_HAL_LINUX_ADAPTER_H__
#define __TVOS_HAL_LINUX_ADAPTER_H__
#ifdef LINUX_OS
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
typedef struct hw_module_t
{
} hw_module_t;
/**
* Get the module info associated with a module by id.
*
* @return: 0 == success, <0 == error and *module == NULL
*/
static inline int hw_get_module(const char *id, const struct hw_module_t **module)
{
return 0;
}
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif
#endif
#endif /* __TVOS_HAL_LINUX_ADAPTER_H__ */