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, 2 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index de178712e02c..6d5b351b29c9 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -210,7 +210,8 @@ extern struct kobject *sysfs_dev_block_kobj;
210extern struct kobject *sysfs_dev_char_kobj; 210extern struct kobject *sysfs_dev_char_kobj;
211extern int __must_check class_register(struct class *class); 211extern int __must_check class_register(struct class *class);
212extern void class_unregister(struct class *class); 212extern void class_unregister(struct class *class);
213extern int class_for_each_device(struct class *class, void *data, 213extern int class_for_each_device(struct class *class, struct device *start,
214 void *data,
214 int (*fn)(struct device *dev, void *data)); 215 int (*fn)(struct device *dev, void *data));
215extern struct device *class_find_device(struct class *class, void *data, 216extern struct device *class_find_device(struct class *class, void *data,
216 int (*match)(struct device *, void *)); 217 int (*match)(struct device *, void *));