Commit 63ab9f0e authored by Sean Young's avatar Sean Young Committed by Ben Hutchings

serial_ir: iommap is a memory address, not bool

commit 069f3b10 upstream.

This has been broken for a long time, so presumably it is not used. I
have no hardware to test this on.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=61401

Fixes: 90ab5ee9 ("module_param: make bool parameters really bool")
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
[bwh: Backported to 3.16: adjust filename, context]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 11ab03e1
...@@ -105,7 +105,7 @@ struct lirc_serial { ...@@ -105,7 +105,7 @@ struct lirc_serial {
static int type; static int type;
static int io; static int io;
static int irq; static int irq;
static bool iommap; static ulong iommap;
static int ioshift; static int ioshift;
static bool softcarrier = 1; static bool softcarrier = 1;
static bool share_irq; static bool share_irq;
...@@ -1205,7 +1205,7 @@ module_param(io, int, S_IRUGO); ...@@ -1205,7 +1205,7 @@ module_param(io, int, S_IRUGO);
MODULE_PARM_DESC(io, "I/O address base (0x3f8 or 0x2f8)"); MODULE_PARM_DESC(io, "I/O address base (0x3f8 or 0x2f8)");
/* some architectures (e.g. intel xscale) have memory mapped registers */ /* some architectures (e.g. intel xscale) have memory mapped registers */
module_param(iommap, bool, S_IRUGO); module_param(iommap, ulong, S_IRUGO);
MODULE_PARM_DESC(iommap, "physical base for memory mapped I/O" MODULE_PARM_DESC(iommap, "physical base for memory mapped I/O"
" (0 = no memory mapped io)"); " (0 = no memory mapped io)");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment