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

From: Greg KH
Date: Fri Apr 01 2005 - 19:03:41 EST


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

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

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

Signed-off-by: Prarit Bhargava <prarit@xxxxxxx>

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.
*/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/