X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fbase%2Fplatform.c;h=3a5f4c991797a02eb0de0ecaac726076d88281f9;hb=f6869979bec3cc2efddc7359f30ba37642084fb7;hp=cd6453905a9bcf4a05265387ce1e51c9cb3fdb57;hpb=46ea0d6c26de431a39c744f7ad63b30bfc800c1e;p=linux-2.6 diff --git a/drivers/base/platform.c b/drivers/base/platform.c index cd6453905a..3a5f4c9917 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -115,7 +115,7 @@ int platform_add_devices(struct platform_device **devs, int num) /** * platform_device_register - add a platform-level device - * @dev: platform device we're adding + * @pdev: platform device we're adding * */ int platform_device_register(struct platform_device * pdev) @@ -174,7 +174,7 @@ int platform_device_register(struct platform_device * pdev) /** * platform_device_unregister - remove a platform-level device - * @dev: platform device we're removing + * @pdev: platform device we're removing * * Note that this function will also release all memory- and port-based * resources owned by the device (@dev->resource).