Skip to contentSkip to conversation

lirc: wrong data type for a variable.

PATCH New Il Han 1 participant 1 message Apr 2, 2012

Subsystems (2)
lore
Share & tools
lore

Il Han

author
#0 lore raw

PATCH 1/1 lirc: wrong data type for a variable.

The data type of the variable sense is int.
Correct it.

---
 drivers/staging/media/lirc/lirc_serial.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/media/lirc/lirc_serial.c +1 -1
index 3295ea6..a172c96 100644
@@ -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 )");
 
Signature · 1 line
1.7.4.1