Explorar o código

fix module_param mistake in it821x

The attached patch fixes a trivial
mistake in a MODULE_PARAM_DESC of pata_it821x
driver. The parameter name in MODULE_PARAM_DESC
should match the one in module_param_named.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Stas Sergeev %!s(int64=18) %!d(string=hai) anos
pai
achega
5fe675e2b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/ata/pata_it821x.c

+ 1 - 1
drivers/ata/pata_it821x.c

@@ -794,7 +794,7 @@ MODULE_VERSION(DRV_VERSION);
 
 
 
 
 module_param_named(noraid, it8212_noraid, int, S_IRUGO);
 module_param_named(noraid, it8212_noraid, int, S_IRUGO);
-MODULE_PARM_DESC(it8212_noraid, "Force card into bypass mode");
+MODULE_PARM_DESC(noraid, "Force card into bypass mode");
 
 
 module_init(it821x_init);
 module_init(it821x_init);
 module_exit(it821x_exit);
 module_exit(it821x_exit);