[PATCH] gadget/ether: MODULE_PARM_DESC

From: Magnus Damm
Date: Mon Mar 21 2005 - 08:50:19 EST


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

Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>

--- 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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/