summaryrefslogtreecommitdiff
path: root/include/linux/attribute_container.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-08-17 02:26:10 +0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-08-28 20:14:09 +0400
commitcaca1779870b1bcc0fb07e48ebd2403901f356b8 (patch)
tree69ec4dfa0927096cca15167c04150637fad66de6 /include/linux/attribute_container.h
parentbe042f240a8528b8f6b741a484cdbbf515698388 (diff)
downloadlinux-caca1779870b1bcc0fb07e48ebd2403901f356b8.tar.xz
[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>
Diffstat (limited to 'include/linux/attribute_container.h')
-rw-r--r--include/linux/attribute_container.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/attribute_container.h b/include/linux/attribute_container.h
index f54b05b052b3..ee83fe64a102 100644
--- a/include/linux/attribute_container.h
+++ b/include/linux/attribute_container.h
@@ -64,6 +64,7 @@ int attribute_container_add_class_device_adapter(struct attribute_container *con
struct class_device *classdev);
void attribute_container_remove_attrs(struct class_device *classdev);
void attribute_container_class_device_del(struct class_device *classdev);
+struct attribute_container *attribute_container_classdev_to_container(struct class_device *);
struct class_device *attribute_container_find_class_device(struct attribute_container *, struct device *);
struct class_device_attribute **attribute_container_classdev_to_attrs(const struct class_device *classdev);