summaryrefslogtreecommitdiffstats
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2011-07-27 12:11:25 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-08 13:53:49 -0700
commit7de636fa25c19fc4187f85f8325c50b1b21a6d8b (patch)
tree11c6ec5fecf85d54188f10ad35a5c2fb59271820 /drivers/base/platform.c
parenta88769cde24fcef11219cf99193ee558d1028217 (diff)
downloadlinux-7de636fa25c19fc4187f85f8325c50b1b21a6d8b.tar.bz2
driver core: fix kernel-doc warning in platform.c
Warning(drivers/base/platform.c:50): No description found for parameter 'pdev' Warning(drivers/base/platform.c:50): Excess function parameter 'dev' description in 'arch_setup_pdev_archdata' Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r--drivers/base/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 0cad9c7f6bb5..99a5272d7c2f 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -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