]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/media/rc/winbond-cir.c
module_param: make bool parameters really bool (drivers & misc)
[mirror_ubuntu-jammy-kernel.git] / drivers / media / rc / winbond-cir.c
index e7f7a57bf6845347e50c3ed2975c67f15c2e05ec..b09c5fae489bd020ea4748cd9c33d67dc12568b0 100644 (file)
@@ -226,11 +226,11 @@ module_param(protocol, uint, 0444);
 MODULE_PARM_DESC(protocol, "IR protocol to use for the power-on command "
                 "(0 = RC5, 1 = NEC, 2 = RC6A, default)");
 
-static int invert; /* default = 0 */
+static bool invert; /* default = 0 */
 module_param(invert, bool, 0444);
 MODULE_PARM_DESC(invert, "Invert the signal from the IR receiver");
 
-static int txandrx; /* default = 0 */
+static bool txandrx; /* default = 0 */
 module_param(txandrx, bool, 0444);
 MODULE_PARM_DESC(invert, "Allow simultaneous TX and RX");