summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-06-02 07:19:39 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-13 13:49:24 -0300
commit6709e03cbaad4190565ff52bb26e6b90da5d98af (patch)
tree99ecbc0ccbebce98cfe194bb4e2537274720c0e9
parentd69ae57453c80a2193bcdb3fd762efbec447eecf (diff)
downloadop-kernel-dev-6709e03cbaad4190565ff52bb26e6b90da5d98af.zip
op-kernel-dev-6709e03cbaad4190565ff52bb26e6b90da5d98af.tar.gz
[media] sir_ir: annotate hardware config module parameters
This module was merged after commit 5a8fc6a3cebb ("Annotate hardware config module parameters in drivers/media/"), so add add the missing hardware annotations. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/rc/sir_ir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/sir_ir.c b/drivers/media/rc/sir_ir.c
index 5ee3a23..20234ba 100644
--- a/drivers/media/rc/sir_ir.c
+++ b/drivers/media/rc/sir_ir.c
@@ -400,10 +400,10 @@ MODULE_DESCRIPTION("Infrared receiver driver for SIR type serial ports");
MODULE_AUTHOR("Milan Pikula");
MODULE_LICENSE("GPL");
-module_param(io, int, 0444);
+module_param_hw(io, int, ioport, 0444);
MODULE_PARM_DESC(io, "I/O address base (0x3f8 or 0x2f8)");
-module_param(irq, int, 0444);
+module_param_hw(irq, int, irq, 0444);
MODULE_PARM_DESC(irq, "Interrupt (4 or 3)");
module_param(threshold, int, 0444);
OpenPOWER on IntegriCloud