[SCSI] add missing attribute container function prototype
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 16 Aug 2005 22:26:10 +0000 (17:26 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 28 Aug 2005 16:14:09 +0000 (11:14 -0500)
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>
include/linux/attribute_container.h

index f54b05b052b3106474dea7cd6c108820c4241abe..ee83fe64a1025512aa1ad2553502bc19e618e544 100644 (file)
@@ -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);