9 #ifndef _TRANSPORT_CLASS_H_
10 #define _TRANSPORT_CLASS_H_
12 #include <linux/device.h>
28 #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg) \
29 struct transport_class cls = { \
44 #define DECLARE_ANON_TRANSPORT_CLASS(cls, mtch, cfg) \
45 struct anon_transport_class cls = { \
54 #define class_to_transport_class(x) \
55 container_of(x, struct transport_class, class)
62 #define attribute_container_to_transport_container(x) \
63 container_of(x, struct transport_container, ac)
72 transport_register_device(
struct device *
dev)
79 transport_unregister_device(
struct device *
dev)