Skip to contentSkip to conversation

arch_setup_pdev_archdata: fix documentation for parameter "pdev"

Doc Rolf Eike Beer 2 participants 2 messages Aug 21, 2011 Driver core

lore
Share & tools
lore
#0 lore raw
---
 drivers/base/platform.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/base/platform.c +1 -1
index 0cad9c7..99a5272 100644
@@ -33,7 +33,7 @@ EXPORT_SYMBOL_GPL(platform_bus);
 
 /**
  * arch_setup_pdev_archdata - Allow manipulation of archdata before its used
- * @dev: platform device
+ * @pdev: platform device
  *
  * This is called before platform_device_add() such that any pdev_archdata may
  * be setup before the platform_notifier is called.  So if a user needs to
Signature · 1 line
1.7.6
#1 lore raw
Quoted 11 lines · Rolf Eike Beer <eike-kernel <at> sf-tec.de> writes:
Signed-off-by Rolf Eike Beer <eike-kernel <at> sf-tec.de>
---
 drivers/base/platform.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/base/platform.c +0 -0
index 0cad9c7..99a5272 100644

drivers/base/platform.c EXPORT_SYMBOL_GPL(platform_bus); · line 39

Quoted 8 lines
drivers/base/platform.c +1 -1
@@ -33,7 +33,7 @@ EXPORT_SYMBOL_GPL(platform_bus);
 
 /**
  * arch_setup_pdev_archdata - Allow manipulation of archdata before its used
- * @dev: platform device
+ * @pdev: platform device
  *
  * This is called before platform_device_add() such that any pdev_archdata may
  * be setup before the platform_notifier is called.  So if a user needs to

Already queue. See:

http://git.kernel.org/?p=linux/kernel/git/next/linux-
next.git;a=commitdiff;h=7de636fa25c19fc4187f85f8325c50b1b21a6d8b

Thanks
-Wanlong Gao