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 39a3199a826d..5cf30e95c8b6 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -128,6 +128,7 @@ struct device_driver {
128 128
129 struct module * owner; 129 struct module * owner;
130 const char * mod_name; /* used for built-in modules */ 130 const char * mod_name; /* used for built-in modules */
131 struct module_kobject * mkobj;
131 132
132 int (*probe) (struct device * dev); 133 int (*probe) (struct device * dev);
133 int (*remove) (struct device * dev); 134 int (*remove) (struct device * dev);
@@ -353,6 +354,8 @@ extern int __must_check device_create_bin_file(struct device *dev,
353 struct bin_attribute *attr); 354 struct bin_attribute *attr);
354extern void device_remove_bin_file(struct device *dev, 355extern void device_remove_bin_file(struct device *dev,
355 struct bin_attribute *attr); 356 struct bin_attribute *attr);
357extern int device_schedule_callback(struct device *dev,
358 void (*func)(struct device *));
356 359
357/* device resource management */ 360/* device resource management */
358typedef void (*dr_release_t)(struct device *dev, void *res); 361typedef void (*dr_release_t)(struct device *dev, void *res);