4 * Copyright 2016 Google Inc.
5 * Copyright 2016 Linaro Ltd.
7 * Released under the GPLv2 only.
15 struct gb_host_device
*hd
;
17 struct list_head hd_node
;
20 size_t num_interfaces
;
24 struct gb_interface
*interfaces
[0];
26 #define to_gb_module(d) container_of(d, struct gb_module, dev)
28 struct gb_module
*gb_module_create(struct gb_host_device
*hd
, u8 module_id
,
29 size_t num_interfaces
);
30 int gb_module_add(struct gb_module
*module
);
31 void gb_module_del(struct gb_module
*module
);
32 void gb_module_put(struct gb_module
*module
);
34 #endif /* __MODULE_H */