阅马场5小时深入理解Linux-ARM虚拟化
hw_module_methods_t
设定打开硬件方法,或的一个device
typedef struct hw_module_methods_t {
/** Open a specific device */
int (*open)(const struct hw_module_t* module, const char* id,
struct hw_device_t** device);
} hw_module_methods_t;