Driver core: move the static kobject out of struct driver
[deliverable/linux.git] / drivers / base / base.h
index 05472360f6a2902bcf1001f8c0076776052f6c89..3b0f395552db3f5387ebecc972497b7a33e07937 100644 (file)
@@ -27,6 +27,14 @@ struct bus_type_private {
        struct bus_type *bus;
 };
 
+struct driver_private {
+       struct kobject kobj;
+       struct klist klist_devices;
+       struct klist_node knode_bus;
+       struct module_kobject *mkobj;
+       struct device_driver *driver;
+};
+#define to_driver(obj) container_of(obj, struct driver_private, kobj)
 
 /* initialisation functions */
 extern int devices_init(void);
This page took 0.023903 seconds and 5 git commands to generate.