aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index d974dda4aa51..721ee318d57b 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -156,6 +156,10 @@ extern int __must_check driver_create_file(struct device_driver *,
156 struct driver_attribute *); 156 struct driver_attribute *);
157extern void driver_remove_file(struct device_driver *, struct driver_attribute *); 157extern void driver_remove_file(struct device_driver *, struct driver_attribute *);
158 158
159extern int __must_check driver_add_kobj(struct device_driver *drv,
160 struct kobject *kobj,
161 const char *fmt, ...);
162
159extern int __must_check driver_for_each_device(struct device_driver * drv, 163extern int __must_check driver_for_each_device(struct device_driver * drv,
160 struct device *start, void *data, 164 struct device *start, void *data,
161 int (*fn)(struct device *, void *)); 165 int (*fn)(struct device *, void *));