]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/hamradio/baycom_ser_hdx.c
Annotate hardware config module parameters in drivers/net/hamradio/
[mirror_ubuntu-artful-kernel.git] / drivers / net / hamradio / baycom_ser_hdx.c
index 60fcf512c208c8f3ed2e473f21e99701763d49b8..f1c8a9ff38914ebb9a88a95d7625071665029a0c 100644 (file)
@@ -642,9 +642,9 @@ static int irq[NR_PORTS] = { 4, };
 
 module_param_array(mode, charp, NULL, 0);
 MODULE_PARM_DESC(mode, "baycom operating mode; * for software DCD");
-module_param_array(iobase, int, NULL, 0);
+module_param_hw_array(iobase, int, ioport, NULL, 0);
 MODULE_PARM_DESC(iobase, "baycom io base address");
-module_param_array(irq, int, NULL, 0);
+module_param_hw_array(irq, int, irq, NULL, 0);
 MODULE_PARM_DESC(irq, "baycom irq number");
 
 MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu");