* [PATCH] lirc: wrong data type for a variable.
@ 2012-04-02 9:08 Il Han
0 siblings, 0 replies; only message in thread
From: Il Han @ 2012-04-02 9:08 UTC (permalink / raw)
To: Jarod Wilson; +Cc: linux-kernel, Il Han
The data type of the variable sense is int.
Correct it.
Signed-off-by: Il Han <corone.il.han@gmail.com>
---
drivers/staging/media/lirc/lirc_serial.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/media/lirc/lirc_serial.c b/drivers/staging/media/lirc/lirc_serial.c
index 3295ea6..a172c96 100644
--- a/drivers/staging/media/lirc/lirc_serial.c
+++ b/drivers/staging/media/lirc/lirc_serial.c
@@ -1292,7 +1292,7 @@ MODULE_PARM_DESC(irq, "Interrupt (4 or 3)");
module_param(share_irq, bool, S_IRUGO);
MODULE_PARM_DESC(share_irq, "Share interrupts (0 = off, 1 = on)");
-module_param(sense, bool, S_IRUGO);
+module_param(sense, int, S_IRUGO);
MODULE_PARM_DESC(sense, "Override autodetection of IR receiver circuit"
" (0 = active high, 1 = active low )");
--
1.7.4.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-02 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-02 9:08 [PATCH] lirc: wrong data type for a variable Il Han
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome