Commit caca1779870b1bcc0fb07e48ebd2403901f356b8
Committed by
James Bottomley
1 parent
be042f240a
Exists in
master
and in
7 other branches
[SCSI] add missing attribute container function prototype
attribute_container_classdev_to_container is an exported function of the attribute_container.c file. However, there's no prototype for it. Now I actually want to use it, so add one. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
include/linux/attribute_container.h
... | ... | @@ -64,6 +64,7 @@ |
64 | 64 | struct class_device *classdev); |
65 | 65 | void attribute_container_remove_attrs(struct class_device *classdev); |
66 | 66 | void attribute_container_class_device_del(struct class_device *classdev); |
67 | +struct attribute_container *attribute_container_classdev_to_container(struct class_device *); | |
67 | 68 | struct class_device *attribute_container_find_class_device(struct attribute_container *, struct device *); |
68 | 69 | struct class_device_attribute **attribute_container_classdev_to_attrs(const struct class_device *classdev); |
69 | 70 |