summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/stx104.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/stx104.c')
-rw-r--r--drivers/iio/adc/stx104.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/stx104.c b/drivers/iio/adc/stx104.c
index 2df84fa5e3fc..2da741d27540 100644
--- a/drivers/iio/adc/stx104.c
+++ b/drivers/iio/adc/stx104.c
@@ -49,7 +49,7 @@
static unsigned int base[max_num_isa_dev(STX104_EXTENT)];
static unsigned int num_stx104;
-module_param_array(base, uint, &num_stx104, 0);
+module_param_hw_array(base, uint, ioport, &num_stx104, 0);
MODULE_PARM_DESC(base, "Apex Embedded Systems STX104 base addresses");
/**