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 195b327f3e19..10f5aa20e041 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -136,6 +136,9 @@ struct driver_attribute driver_attr_##_name = __ATTR(_name,_mode,_show,_store)
136extern int driver_create_file(struct device_driver *, struct driver_attribute *); 136extern int driver_create_file(struct device_driver *, struct driver_attribute *);
137extern void driver_remove_file(struct device_driver *, struct driver_attribute *); 137extern void driver_remove_file(struct device_driver *, struct driver_attribute *);
138 138
139extern int driver_for_each_device(struct device_driver * drv, struct device * start,
140 void * data, int (*fn)(struct device *, void *));
141
139 142
140/* 143/*
141 * device classes 144 * device classes