hw_device_t
描述抽象设备
typedef struct hw_device_t {
...
/** reference to the module this device belongs to */
struct hw_module_t* module;
/** Close this device */
int (*close)(struct hw_device_t* device);
£