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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index e0fae0e76fa9..7d447d7271c5 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -309,6 +309,10 @@ struct device_attribute dev_attr_##_name = __ATTR(_name,_mode,_show,_store)
309 309
310extern int device_create_file(struct device *device, struct device_attribute * entry); 310extern int device_create_file(struct device *device, struct device_attribute * entry);
311extern void device_remove_file(struct device * dev, struct device_attribute * attr); 311extern void device_remove_file(struct device * dev, struct device_attribute * attr);
312extern int __must_check device_create_bin_file(struct device *dev,
313 struct bin_attribute *attr);
314extern void device_remove_bin_file(struct device *dev,
315 struct bin_attribute *attr);
312struct device { 316struct device {
313 struct klist klist_children; 317 struct klist klist_children;
314 struct klist_node knode_parent; /* node in sibling list */ 318 struct klist_node knode_parent; /* node in sibling list */