[PATCH] PCI Hotplug: add documentation about release pointer.
From: Greg KH (gregkh_at_suse.de)
Date: 04/02/05
- Previous message: Greg KH: "[PATCH] PCI busses are structs, not integers"
- In reply to: Greg KH: "PCI Hotplug: enforce the rule that a hotplug slot needs a release function."
- Next in thread: Greg KH: "[PATCH] PCI: Quirk for Asus M5N"
- Reply: Greg KH: "[PATCH] PCI: Quirk for Asus M5N"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 1 Apr 2005 15:47:53 -0800 To: linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz
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.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Greg KH: "[PATCH] PCI busses are structs, not integers"
- In reply to: Greg KH: "PCI Hotplug: enforce the rule that a hotplug slot needs a release function."
- Next in thread: Greg KH: "[PATCH] PCI: Quirk for Asus M5N"
- Reply: Greg KH: "[PATCH] PCI: Quirk for Asus M5N"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|