[PATCH] PCI Hotplug: add documentation about release pointer.

Greg KH
2005-04-01T23:55:22Z

ChangeSet 1.2181.16.18, 2005/03/28 15:09:31-08:00, prarit@sgi.com

[PATCH] PCI Hotplug: add documentation about release pointer.

Adds "release" func pointer comments to nano-doc.

Signed-off-by: Prarit Bhargava <prarit@sgi.com>

Index: hp/drivers/pci/hotplug/pci_hotplug.h
===================================================================
RCS file: /usr/local/src/cvsroot/bk/linux-2.5/drivers/pci/hotplug/pci_hotplug.h,v
retrieving revision 1.1.1.1

drivers/pci/hotplug/pci_hotplug.h | 2 ++
1 files changed, 2 insertions(+)

diff -Nru a/drivers/pci/hotplug/pci_hotplug.h b/drivers/pci/hotplug/pci_hotplug.h
--- a/drivers/pci/hotplug/pci_hotplug.h 2005-04-01 15:33:50 -08:00
+++ b/drivers/pci/hotplug/pci_hotplug.h 2005-04-01 15:33:50 -08:00
@@ -152,6 +152,8 @@
* @ops: pointer to the &struct hotplug_slot_ops to be used for this slot
* @info: pointer to the &struct hotplug_slot_info for the inital values for
* this slot.
+ * @release: called during pci_hp_deregister to free memory allocated in a
+ * hotplug_slot structure.
* @private: used by the hotplug pci controller driver to store whatever it
* needs.
*/