aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index b3da9a870cfc..74246efba931 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -106,6 +106,8 @@ struct device_driver {
106 void (*shutdown) (struct device * dev); 106 void (*shutdown) (struct device * dev);
107 int (*suspend) (struct device * dev, pm_message_t state); 107 int (*suspend) (struct device * dev, pm_message_t state);
108 int (*resume) (struct device * dev); 108 int (*resume) (struct device * dev);
109
110 unsigned int multithread_probe:1;
109}; 111};
110 112
111 113
@@ -115,6 +117,7 @@ extern void driver_unregister(struct device_driver * drv);
115extern struct device_driver * get_driver(struct device_driver * drv); 117extern struct device_driver * get_driver(struct device_driver * drv);
116extern void put_driver(struct device_driver * drv); 118extern void put_driver(struct device_driver * drv);
117extern struct device_driver *driver_find(const char *name, struct bus_type *bus); 119extern struct device_driver *driver_find(const char *name, struct bus_type *bus);
120extern int driver_probe_done(void);
118 121
119/* driverfs interface for exporting driver attributes */ 122/* driverfs interface for exporting driver attributes */
120 123