2005-03-21 13:48:54

by Magnus Damm

[permalink] [raw]
Subject: [PATCH] gadget/ether: MODULE_PARM_DESC

Fix "dev_addr"/"iProduct" parameter description duplication/mixup.
Error detected with section2text.rb, see autoparam patch.

Signed-off-by: Magnus Damm <[email protected]>

--- linux-2.6.12-rc1/drivers/usb/gadget/ether.c 2005-03-20 18:20:17.000000000 +0100
+++ linux-2.6.12-rc1-autoparam/drivers/usb/gadget/ether.c 2005-03-21 14:01:56.000000000 +0100
@@ -199,7 +199,7 @@
/* initial value, changed by "ifconfig usb0 hw ether xx:xx:xx:xx:xx:xx" */
static char *__initdata dev_addr;
module_param(dev_addr, charp, S_IRUGO);
-MODULE_PARM_DESC(iProduct, "Device Ethernet Address");
+MODULE_PARM_DESC(dev_addr, "Device Ethernet Address");

/* this address is invisible to ifconfig */
static char *__initdata host_addr;