public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add missing attribute container function prototype
@ 2005-08-16 22:26 James Bottomley
  0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2005-08-16 22:26 UTC (permalink / raw)
  To: SCSI Mailing List

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.

James

diff --git a/include/linux/attribute_container.h b/include/linux/attribute_container.h
--- a/include/linux/attribute_container.h
+++ b/include/linux/attribute_container.h
@@ -64,6 +64,7 @@ int attribute_container_add_class_device
 						 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);
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-16 22:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16 22:26 [PATCH] add missing attribute container function prototype James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox