diff mbox

pci: fix kernel-doc warnings

Message ID 4A4251C6.1040606@oracle.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Randy Dunlap June 24, 2009, 4:18 p.m. UTC
From: Randy Dunlap <randy.dunlap@oracle.com>

Fix missing kernel-doc in pci subsystem.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/pci/hotplug/pci_hotplug_core.c |    2 ++
 drivers/pci/slot.c                     |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

Comments

Jesse Barnes June 29, 2009, 7:19 p.m. UTC | #1
On Wed, 24 Jun 2009 09:18:14 -0700
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix missing kernel-doc in pci subsystem.

Applied to my for-linus branch, thanks.
diff mbox

Patch

--- linux-2.6.30-git22.orig/drivers/pci/hotplug/pci_hotplug_core.c
+++ linux-2.6.30-git22/drivers/pci/hotplug/pci_hotplug_core.c
@@ -555,6 +555,8 @@  static struct hotplug_slot *get_slot_fro
  * @slot: pointer to the &struct hotplug_slot to register
  * @devnr: device number
  * @name: name registered with kobject core
+ * @owner: caller module owner
+ * @mod_name: caller module name
  *
  * Registers a hotplug slot with the pci hotplug subsystem, which will allow
  * userspace interaction to the slot.
--- linux-2.6.30-git22.orig/drivers/pci/slot.c
+++ linux-2.6.30-git22/drivers/pci/slot.c
@@ -311,7 +311,7 @@  EXPORT_SYMBOL_GPL(pci_destroy_slot);
 #include <linux/pci_hotplug.h>
 /**
  * pci_hp_create_link - create symbolic link to the hotplug driver module.
- * @slot: struct pci_slot
+ * @pci_slot: struct pci_slot
  *
  * Helper function for pci_hotplug_core.c to create symbolic link to
  * the hotplug driver module.
@@ -334,7 +334,7 @@  EXPORT_SYMBOL_GPL(pci_hp_create_module_l
 
 /**
  * pci_hp_remove_link - remove symbolic link to the hotplug driver module.
- * @slot: struct pci_slot
+ * @pci_slot: struct pci_slot
  *
  * Helper function for pci_hotplug_core.c to remove symbolic link to
  * the hotplug driver module.