diff options
Diffstat (limited to 'drivers/media')
40 files changed, 59 insertions, 59 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9005.c b/drivers/media/dvb/dvb-usb/af9005.c index bd51a764351..4fc024d7704 100644 --- a/drivers/media/dvb/dvb-usb/af9005.c +++ b/drivers/media/dvb/dvb-usb/af9005.c | |||
@@ -30,7 +30,7 @@ MODULE_PARM_DESC(debug, | |||
30 | "set debugging level (1=info,xfer=2,rc=4,reg=8,i2c=16,fw=32 (or-able))." | 30 | "set debugging level (1=info,xfer=2,rc=4,reg=8,i2c=16,fw=32 (or-able))." |
31 | DVB_USB_DEBUG_STATUS); | 31 | DVB_USB_DEBUG_STATUS); |
32 | /* enable obnoxious led */ | 32 | /* enable obnoxious led */ |
33 | int dvb_usb_af9005_led = 1; | 33 | bool dvb_usb_af9005_led = 1; |
34 | module_param_named(led, dvb_usb_af9005_led, bool, 0644); | 34 | module_param_named(led, dvb_usb_af9005_led, bool, 0644); |
35 | MODULE_PARM_DESC(led, "enable led (default: 1)."); | 35 | MODULE_PARM_DESC(led, "enable led (default: 1)."); |
36 | 36 | ||
diff --git a/drivers/media/dvb/dvb-usb/af9005.h b/drivers/media/dvb/dvb-usb/af9005.h index c71c77bd7f4..6a2bf3de845 100644 --- a/drivers/media/dvb/dvb-usb/af9005.h +++ b/drivers/media/dvb/dvb-usb/af9005.h | |||
@@ -35,7 +35,7 @@ extern int dvb_usb_af9005_debug; | |||
35 | #define deb_i2c(args...) dprintk(dvb_usb_af9005_debug,0x10,args) | 35 | #define deb_i2c(args...) dprintk(dvb_usb_af9005_debug,0x10,args) |
36 | #define deb_fw(args...) dprintk(dvb_usb_af9005_debug,0x20,args) | 36 | #define deb_fw(args...) dprintk(dvb_usb_af9005_debug,0x20,args) |
37 | 37 | ||
38 | extern int dvb_usb_af9005_led; | 38 | extern bool dvb_usb_af9005_led; |
39 | 39 | ||
40 | /* firmware */ | 40 | /* firmware */ |
41 | #define FW_BULKOUT_SIZE 250 | 41 | #define FW_BULKOUT_SIZE 250 |
diff --git a/drivers/media/radio/radio-gemtek.c b/drivers/media/radio/radio-gemtek.c index edadc8449a3..36ce0611c03 100644 --- a/drivers/media/radio/radio-gemtek.c +++ b/drivers/media/radio/radio-gemtek.c | |||
@@ -47,11 +47,11 @@ MODULE_VERSION("0.0.4"); | |||
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | static int io = CONFIG_RADIO_GEMTEK_PORT; | 49 | static int io = CONFIG_RADIO_GEMTEK_PORT; |
50 | static int probe = CONFIG_RADIO_GEMTEK_PROBE; | 50 | static bool probe = CONFIG_RADIO_GEMTEK_PROBE; |
51 | static int hardmute; | 51 | static bool hardmute; |
52 | static int shutdown = 1; | 52 | static bool shutdown = 1; |
53 | static int keepmuted = 1; | 53 | static bool keepmuted = 1; |
54 | static int initmute = 1; | 54 | static bool initmute = 1; |
55 | static int radio_nr = -1; | 55 | static int radio_nr = -1; |
56 | 56 | ||
57 | module_param(io, int, 0444); | 57 | module_param(io, int, 0444); |
diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c index 3fb76e3834c..87c1ee13b05 100644 --- a/drivers/media/radio/radio-miropcm20.c +++ b/drivers/media/radio/radio-miropcm20.c | |||
@@ -23,7 +23,7 @@ static int radio_nr = -1; | |||
23 | module_param(radio_nr, int, 0); | 23 | module_param(radio_nr, int, 0); |
24 | MODULE_PARM_DESC(radio_nr, "Set radio device number (/dev/radioX). Default: -1 (autodetect)"); | 24 | MODULE_PARM_DESC(radio_nr, "Set radio device number (/dev/radioX). Default: -1 (autodetect)"); |
25 | 25 | ||
26 | static int mono; | 26 | static bool mono; |
27 | module_param(mono, bool, 0); | 27 | module_param(mono, bool, 0); |
28 | MODULE_PARM_DESC(mono, "Force tuner into mono mode."); | 28 | MODULE_PARM_DESC(mono, "Force tuner into mono mode."); |
29 | 29 | ||
diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c index 27997a9ceb0..ca12d3289bf 100644 --- a/drivers/media/rc/lirc_dev.c +++ b/drivers/media/rc/lirc_dev.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <media/lirc.h> | 38 | #include <media/lirc.h> |
39 | #include <media/lirc_dev.h> | 39 | #include <media/lirc_dev.h> |
40 | 40 | ||
41 | static int debug; | 41 | static bool debug; |
42 | 42 | ||
43 | #define IRCTL_DEV_NAME "BaseRemoteCtl" | 43 | #define IRCTL_DEV_NAME "BaseRemoteCtl" |
44 | #define NOPLUG -1 | 44 | #define NOPLUG -1 |
diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index 20bb12d6fbb..21105bf9594 100644 --- a/drivers/media/rc/mceusb.c +++ b/drivers/media/rc/mceusb.c | |||
@@ -156,9 +156,9 @@ | |||
156 | 156 | ||
157 | /* module parameters */ | 157 | /* module parameters */ |
158 | #ifdef CONFIG_USB_DEBUG | 158 | #ifdef CONFIG_USB_DEBUG |
159 | static int debug = 1; | 159 | static bool debug = 1; |
160 | #else | 160 | #else |
161 | static int debug; | 161 | static bool debug; |
162 | #endif | 162 | #endif |
163 | 163 | ||
164 | #define mce_dbg(dev, fmt, ...) \ | 164 | #define mce_dbg(dev, fmt, ...) \ |
diff --git a/drivers/media/rc/streamzap.c b/drivers/media/rc/streamzap.c index b1d29d09eea..d6f4bfe0939 100644 --- a/drivers/media/rc/streamzap.c +++ b/drivers/media/rc/streamzap.c | |||
@@ -43,9 +43,9 @@ | |||
43 | #define DRIVER_DESC "Streamzap Remote Control driver" | 43 | #define DRIVER_DESC "Streamzap Remote Control driver" |
44 | 44 | ||
45 | #ifdef CONFIG_USB_DEBUG | 45 | #ifdef CONFIG_USB_DEBUG |
46 | static int debug = 1; | 46 | static bool debug = 1; |
47 | #else | 47 | #else |
48 | static int debug; | 48 | static bool debug; |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #define USB_STREAMZAP_VENDOR_ID 0x0e9c | 51 | #define USB_STREAMZAP_VENDOR_ID 0x0e9c |
diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c index e7f7a57bf68..b09c5fae489 100644 --- a/drivers/media/rc/winbond-cir.c +++ b/drivers/media/rc/winbond-cir.c | |||
@@ -226,11 +226,11 @@ module_param(protocol, uint, 0444); | |||
226 | MODULE_PARM_DESC(protocol, "IR protocol to use for the power-on command " | 226 | MODULE_PARM_DESC(protocol, "IR protocol to use for the power-on command " |
227 | "(0 = RC5, 1 = NEC, 2 = RC6A, default)"); | 227 | "(0 = RC5, 1 = NEC, 2 = RC6A, default)"); |
228 | 228 | ||
229 | static int invert; /* default = 0 */ | 229 | static bool invert; /* default = 0 */ |
230 | module_param(invert, bool, 0444); | 230 | module_param(invert, bool, 0444); |
231 | MODULE_PARM_DESC(invert, "Invert the signal from the IR receiver"); | 231 | MODULE_PARM_DESC(invert, "Invert the signal from the IR receiver"); |
232 | 232 | ||
233 | static int txandrx; /* default = 0 */ | 233 | static bool txandrx; /* default = 0 */ |
234 | module_param(txandrx, bool, 0444); | 234 | module_param(txandrx, bool, 0444); |
235 | MODULE_PARM_DESC(invert, "Allow simultaneous TX and RX"); | 235 | MODULE_PARM_DESC(invert, "Allow simultaneous TX and RX"); |
236 | 236 | ||
diff --git a/drivers/media/video/c-qcam.c b/drivers/media/video/c-qcam.c index cd8ff047318..fda32f52554 100644 --- a/drivers/media/video/c-qcam.c +++ b/drivers/media/video/c-qcam.c | |||
@@ -72,7 +72,7 @@ struct qcam { | |||
72 | 72 | ||
73 | static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 }; | 73 | static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 }; |
74 | static int probe = 2; | 74 | static int probe = 2; |
75 | static int force_rgb; | 75 | static bool force_rgb; |
76 | static int video_nr = -1; | 76 | static int video_nr = -1; |
77 | 77 | ||
78 | /* FIXME: parport=auto would never have worked, surely? --RR */ | 78 | /* FIXME: parport=auto would never have worked, surely? --RR */ |
diff --git a/drivers/media/video/cs5345.c b/drivers/media/video/cs5345.c index 5909f2557ab..1d64af9adf7 100644 --- a/drivers/media/video/cs5345.c +++ b/drivers/media/video/cs5345.c | |||
@@ -31,7 +31,7 @@ MODULE_DESCRIPTION("i2c device driver for cs5345 Audio ADC"); | |||
31 | MODULE_AUTHOR("Hans Verkuil"); | 31 | MODULE_AUTHOR("Hans Verkuil"); |
32 | MODULE_LICENSE("GPL"); | 32 | MODULE_LICENSE("GPL"); |
33 | 33 | ||
34 | static int debug; | 34 | static bool debug; |
35 | 35 | ||
36 | module_param(debug, bool, 0644); | 36 | module_param(debug, bool, 0644); |
37 | 37 | ||
diff --git a/drivers/media/video/cs53l32a.c b/drivers/media/video/cs53l32a.c index d93e5ab45fd..51c5b9ad67d 100644 --- a/drivers/media/video/cs53l32a.c +++ b/drivers/media/video/cs53l32a.c | |||
@@ -35,7 +35,7 @@ MODULE_DESCRIPTION("i2c device driver for cs53l32a Audio ADC"); | |||
35 | MODULE_AUTHOR("Martin Vaughan"); | 35 | MODULE_AUTHOR("Martin Vaughan"); |
36 | MODULE_LICENSE("GPL"); | 36 | MODULE_LICENSE("GPL"); |
37 | 37 | ||
38 | static int debug; | 38 | static bool debug; |
39 | 39 | ||
40 | module_param(debug, bool, 0644); | 40 | module_param(debug, bool, 0644); |
41 | 41 | ||
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c index c6ff32a6137..349bd9c2aff 100644 --- a/drivers/media/video/cx18/cx18-driver.c +++ b/drivers/media/video/cx18/cx18-driver.c | |||
@@ -75,7 +75,7 @@ static int radio[CX18_MAX_CARDS] = { -1, -1, -1, -1, -1, -1, -1, -1, | |||
75 | -1, -1, -1, -1, -1, -1, -1, -1 }; | 75 | -1, -1, -1, -1, -1, -1, -1, -1 }; |
76 | static unsigned cardtype_c = 1; | 76 | static unsigned cardtype_c = 1; |
77 | static unsigned tuner_c = 1; | 77 | static unsigned tuner_c = 1; |
78 | static unsigned radio_c = 1; | 78 | static bool radio_c = 1; |
79 | static char pal[] = "--"; | 79 | static char pal[] = "--"; |
80 | static char secam[] = "--"; | 80 | static char secam[] = "--"; |
81 | static char ntsc[] = "-"; | 81 | static char ntsc[] = "-"; |
diff --git a/drivers/media/video/cx25821/cx25821-alsa.c b/drivers/media/video/cx25821/cx25821-alsa.c index 09e99de5fd2..58be4f3bb3c 100644 --- a/drivers/media/video/cx25821/cx25821-alsa.c +++ b/drivers/media/video/cx25821/cx25821-alsa.c | |||
@@ -102,7 +102,7 @@ struct cx25821_audio_dev { | |||
102 | 102 | ||
103 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ | 103 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ |
104 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ | 104 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ |
105 | static int enable[SNDRV_CARDS] = { 1, [1 ... (SNDRV_CARDS - 1)] = 1 }; | 105 | static bool enable[SNDRV_CARDS] = { 1, [1 ... (SNDRV_CARDS - 1)] = 1 }; |
106 | 106 | ||
107 | module_param_array(enable, bool, NULL, 0444); | 107 | module_param_array(enable, bool, NULL, 0444); |
108 | MODULE_PARM_DESC(enable, "Enable cx25821 soundcard. default enabled."); | 108 | MODULE_PARM_DESC(enable, "Enable cx25821 soundcard. default enabled."); |
diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/media/video/cx88/cx88-alsa.c index 68d1240f493..04bf6627d36 100644 --- a/drivers/media/video/cx88/cx88-alsa.c +++ b/drivers/media/video/cx88/cx88-alsa.c | |||
@@ -96,7 +96,7 @@ typedef struct cx88_audio_dev snd_cx88_card_t; | |||
96 | 96 | ||
97 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ | 97 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ |
98 | static const char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ | 98 | static const char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ |
99 | static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; | 99 | static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; |
100 | 100 | ||
101 | module_param_array(enable, bool, NULL, 0444); | 101 | module_param_array(enable, bool, NULL, 0444); |
102 | MODULE_PARM_DESC(enable, "Enable cx88x soundcard. default enabled."); | 102 | MODULE_PARM_DESC(enable, "Enable cx88x soundcard. default enabled."); |
diff --git a/drivers/media/video/gspca/m5602/m5602_core.c b/drivers/media/video/gspca/m5602/m5602_core.c index 9fe3816b2aa..0c449367543 100644 --- a/drivers/media/video/gspca/m5602/m5602_core.c +++ b/drivers/media/video/gspca/m5602/m5602_core.c | |||
@@ -27,8 +27,8 @@ | |||
27 | 27 | ||
28 | /* Kernel module parameters */ | 28 | /* Kernel module parameters */ |
29 | int force_sensor; | 29 | int force_sensor; |
30 | static int dump_bridge; | 30 | static bool dump_bridge; |
31 | int dump_sensor; | 31 | bool dump_sensor; |
32 | 32 | ||
33 | static const struct usb_device_id m5602_table[] = { | 33 | static const struct usb_device_id m5602_table[] = { |
34 | {USB_DEVICE(0x0402, 0x5602)}, | 34 | {USB_DEVICE(0x0402, 0x5602)}, |
diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.h b/drivers/media/video/gspca/m5602/m5602_mt9m111.h index b1f0c492036..8c672b5c8c6 100644 --- a/drivers/media/video/gspca/m5602/m5602_mt9m111.h +++ b/drivers/media/video/gspca/m5602/m5602_mt9m111.h | |||
@@ -106,7 +106,7 @@ | |||
106 | 106 | ||
107 | /* Kernel module parameters */ | 107 | /* Kernel module parameters */ |
108 | extern int force_sensor; | 108 | extern int force_sensor; |
109 | extern int dump_sensor; | 109 | extern bool dump_sensor; |
110 | 110 | ||
111 | int mt9m111_probe(struct sd *sd); | 111 | int mt9m111_probe(struct sd *sd); |
112 | int mt9m111_init(struct sd *sd); | 112 | int mt9m111_init(struct sd *sd); |
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h index 2efd607987e..2b6a13b508f 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.h +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h | |||
@@ -86,7 +86,7 @@ | |||
86 | 86 | ||
87 | /* Kernel module parameters */ | 87 | /* Kernel module parameters */ |
88 | extern int force_sensor; | 88 | extern int force_sensor; |
89 | extern int dump_sensor; | 89 | extern bool dump_sensor; |
90 | 90 | ||
91 | int ov7660_probe(struct sd *sd); | 91 | int ov7660_probe(struct sd *sd); |
92 | int ov7660_init(struct sd *sd); | 92 | int ov7660_init(struct sd *sd); |
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.h b/drivers/media/video/gspca/m5602/m5602_ov9650.h index da9a129b739..f7aa5bf6898 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.h +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.h | |||
@@ -135,7 +135,7 @@ | |||
135 | 135 | ||
136 | /* Kernel module parameters */ | 136 | /* Kernel module parameters */ |
137 | extern int force_sensor; | 137 | extern int force_sensor; |
138 | extern int dump_sensor; | 138 | extern bool dump_sensor; |
139 | 139 | ||
140 | int ov9650_probe(struct sd *sd); | 140 | int ov9650_probe(struct sd *sd); |
141 | int ov9650_init(struct sd *sd); | 141 | int ov9650_init(struct sd *sd); |
diff --git a/drivers/media/video/gspca/m5602/m5602_po1030.h b/drivers/media/video/gspca/m5602/m5602_po1030.h index 33835959639..81a2bcb88fe 100644 --- a/drivers/media/video/gspca/m5602/m5602_po1030.h +++ b/drivers/media/video/gspca/m5602/m5602_po1030.h | |||
@@ -147,7 +147,7 @@ | |||
147 | 147 | ||
148 | /* Kernel module parameters */ | 148 | /* Kernel module parameters */ |
149 | extern int force_sensor; | 149 | extern int force_sensor; |
150 | extern int dump_sensor; | 150 | extern bool dump_sensor; |
151 | 151 | ||
152 | int po1030_probe(struct sd *sd); | 152 | int po1030_probe(struct sd *sd); |
153 | int po1030_init(struct sd *sd); | 153 | int po1030_init(struct sd *sd); |
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k4aa.h b/drivers/media/video/gspca/m5602/m5602_s5k4aa.h index 8cc7a3f6da7..8e0035e731c 100644 --- a/drivers/media/video/gspca/m5602/m5602_s5k4aa.h +++ b/drivers/media/video/gspca/m5602/m5602_s5k4aa.h | |||
@@ -65,7 +65,7 @@ | |||
65 | 65 | ||
66 | /* Kernel module parameters */ | 66 | /* Kernel module parameters */ |
67 | extern int force_sensor; | 67 | extern int force_sensor; |
68 | extern int dump_sensor; | 68 | extern bool dump_sensor; |
69 | 69 | ||
70 | int s5k4aa_probe(struct sd *sd); | 70 | int s5k4aa_probe(struct sd *sd); |
71 | int s5k4aa_init(struct sd *sd); | 71 | int s5k4aa_init(struct sd *sd); |
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k83a.h b/drivers/media/video/gspca/m5602/m5602_s5k83a.h index 80a63a236e2..79952247b53 100644 --- a/drivers/media/video/gspca/m5602/m5602_s5k83a.h +++ b/drivers/media/video/gspca/m5602/m5602_s5k83a.h | |||
@@ -41,7 +41,7 @@ | |||
41 | 41 | ||
42 | /* Kernel module parameters */ | 42 | /* Kernel module parameters */ |
43 | extern int force_sensor; | 43 | extern int force_sensor; |
44 | extern int dump_sensor; | 44 | extern bool dump_sensor; |
45 | 45 | ||
46 | int s5k83a_probe(struct sd *sd); | 46 | int s5k83a_probe(struct sd *sd); |
47 | int s5k83a_init(struct sd *sd); | 47 | int s5k83a_init(struct sd *sd); |
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.c b/drivers/media/video/gspca/stv06xx/stv06xx.c index 0ab425fbea9..6f878f6c6e9 100644 --- a/drivers/media/video/gspca/stv06xx/stv06xx.c +++ b/drivers/media/video/gspca/stv06xx/stv06xx.c | |||
@@ -36,8 +36,8 @@ MODULE_AUTHOR("Erik Andrén"); | |||
36 | MODULE_DESCRIPTION("STV06XX USB Camera Driver"); | 36 | MODULE_DESCRIPTION("STV06XX USB Camera Driver"); |
37 | MODULE_LICENSE("GPL"); | 37 | MODULE_LICENSE("GPL"); |
38 | 38 | ||
39 | static int dump_bridge; | 39 | static bool dump_bridge; |
40 | static int dump_sensor; | 40 | static bool dump_sensor; |
41 | 41 | ||
42 | int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data) | 42 | int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data) |
43 | { | 43 | { |
diff --git a/drivers/media/video/hdpvr/hdpvr-core.c b/drivers/media/video/hdpvr/hdpvr-core.c index 3f1a5b1beeb..e5eb56a5b61 100644 --- a/drivers/media/video/hdpvr/hdpvr-core.c +++ b/drivers/media/video/hdpvr/hdpvr-core.c | |||
@@ -49,7 +49,7 @@ module_param(default_audio_input, uint, S_IRUGO|S_IWUSR); | |||
49 | MODULE_PARM_DESC(default_audio_input, "default audio input: 0=RCA back / " | 49 | MODULE_PARM_DESC(default_audio_input, "default audio input: 0=RCA back / " |
50 | "1=RCA front / 2=S/PDIF"); | 50 | "1=RCA front / 2=S/PDIF"); |
51 | 51 | ||
52 | static int boost_audio; | 52 | static bool boost_audio; |
53 | module_param(boost_audio, bool, S_IRUGO|S_IWUSR); | 53 | module_param(boost_audio, bool, S_IRUGO|S_IWUSR); |
54 | MODULE_PARM_DESC(boost_audio, "boost the audio signal"); | 54 | MODULE_PARM_DESC(boost_audio, "boost the audio signal"); |
55 | 55 | ||
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 41108a9a195..544af91cbdc 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -99,7 +99,7 @@ static int i2c_clock_period[IVTV_MAX_CARDS] = { -1, -1, -1, -1, -1, -1, -1, -1, | |||
99 | 99 | ||
100 | static unsigned int cardtype_c = 1; | 100 | static unsigned int cardtype_c = 1; |
101 | static unsigned int tuner_c = 1; | 101 | static unsigned int tuner_c = 1; |
102 | static unsigned int radio_c = 1; | 102 | static bool radio_c = 1; |
103 | static unsigned int i2c_clock_period_c = 1; | 103 | static unsigned int i2c_clock_period_c = 1; |
104 | static char pal[] = "---"; | 104 | static char pal[] = "---"; |
105 | static char secam[] = "--"; | 105 | static char secam[] = "--"; |
diff --git a/drivers/media/video/ivtv/ivtvfb.c b/drivers/media/video/ivtv/ivtvfb.c index 6b7c9c82333..d0fbfcf7133 100644 --- a/drivers/media/video/ivtv/ivtvfb.c +++ b/drivers/media/video/ivtv/ivtvfb.c | |||
@@ -58,7 +58,7 @@ | |||
58 | /* card parameters */ | 58 | /* card parameters */ |
59 | static int ivtvfb_card_id = -1; | 59 | static int ivtvfb_card_id = -1; |
60 | static int ivtvfb_debug = 0; | 60 | static int ivtvfb_debug = 0; |
61 | static int osd_laced; | 61 | static bool osd_laced; |
62 | static int osd_depth; | 62 | static int osd_depth; |
63 | static int osd_upper; | 63 | static int osd_upper; |
64 | static int osd_left; | 64 | static int osd_left; |
diff --git a/drivers/media/video/marvell-ccic/mcam-core.c b/drivers/media/video/marvell-ccic/mcam-core.c index 80ec64d2d6d..2c8fc0f6d69 100644 --- a/drivers/media/video/marvell-ccic/mcam-core.c +++ b/drivers/media/video/marvell-ccic/mcam-core.c | |||
@@ -51,7 +51,7 @@ static int delivered; | |||
51 | * sense. | 51 | * sense. |
52 | */ | 52 | */ |
53 | 53 | ||
54 | static int alloc_bufs_at_read; | 54 | static bool alloc_bufs_at_read; |
55 | module_param(alloc_bufs_at_read, bool, 0444); | 55 | module_param(alloc_bufs_at_read, bool, 0444); |
56 | MODULE_PARM_DESC(alloc_bufs_at_read, | 56 | MODULE_PARM_DESC(alloc_bufs_at_read, |
57 | "Non-zero value causes DMA buffers to be allocated when the " | 57 | "Non-zero value causes DMA buffers to be allocated when the " |
@@ -73,11 +73,11 @@ MODULE_PARM_DESC(dma_buf_size, | |||
73 | "parameters require larger buffers, an attempt to reallocate " | 73 | "parameters require larger buffers, an attempt to reallocate " |
74 | "will be made."); | 74 | "will be made."); |
75 | #else /* MCAM_MODE_VMALLOC */ | 75 | #else /* MCAM_MODE_VMALLOC */ |
76 | static const int alloc_bufs_at_read = 0; | 76 | static const bool alloc_bufs_at_read = 0; |
77 | static const int n_dma_bufs = 3; /* Used by S/G_PARM */ | 77 | static const int n_dma_bufs = 3; /* Used by S/G_PARM */ |
78 | #endif /* MCAM_MODE_VMALLOC */ | 78 | #endif /* MCAM_MODE_VMALLOC */ |
79 | 79 | ||
80 | static int flip; | 80 | static bool flip; |
81 | module_param(flip, bool, 0444); | 81 | module_param(flip, bool, 0444); |
82 | MODULE_PARM_DESC(flip, | 82 | MODULE_PARM_DESC(flip, |
83 | "If set, the sensor will be instructed to flip the image " | 83 | "If set, the sensor will be instructed to flip the image " |
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c index d0f53885728..d7cd0f633f6 100644 --- a/drivers/media/video/msp3400-driver.c +++ b/drivers/media/video/msp3400-driver.c | |||
@@ -69,12 +69,12 @@ MODULE_LICENSE("GPL"); | |||
69 | /* module parameters */ | 69 | /* module parameters */ |
70 | static int opmode = OPMODE_AUTO; | 70 | static int opmode = OPMODE_AUTO; |
71 | int msp_debug; /* msp_debug output */ | 71 | int msp_debug; /* msp_debug output */ |
72 | int msp_once; /* no continuous stereo monitoring */ | 72 | bool msp_once; /* no continuous stereo monitoring */ |
73 | int msp_amsound; /* hard-wire AM sound at 6.5 Hz (france), | 73 | bool msp_amsound; /* hard-wire AM sound at 6.5 Hz (france), |
74 | the autoscan seems work well only with FM... */ | 74 | the autoscan seems work well only with FM... */ |
75 | int msp_standard = 1; /* Override auto detect of audio msp_standard, | 75 | int msp_standard = 1; /* Override auto detect of audio msp_standard, |
76 | if needed. */ | 76 | if needed. */ |
77 | int msp_dolby; | 77 | bool msp_dolby; |
78 | 78 | ||
79 | int msp_stereo_thresh = 0x190; /* a2 threshold for stereo/bilingual | 79 | int msp_stereo_thresh = 0x190; /* a2 threshold for stereo/bilingual |
80 | (msp34xxg only) 0x00a0-0x03c0 */ | 80 | (msp34xxg only) 0x00a0-0x03c0 */ |
diff --git a/drivers/media/video/msp3400-driver.h b/drivers/media/video/msp3400-driver.h index 831e8db4368..fbe5e0715f9 100644 --- a/drivers/media/video/msp3400-driver.h +++ b/drivers/media/video/msp3400-driver.h | |||
@@ -44,10 +44,10 @@ | |||
44 | 44 | ||
45 | /* module parameters */ | 45 | /* module parameters */ |
46 | extern int msp_debug; | 46 | extern int msp_debug; |
47 | extern int msp_once; | 47 | extern bool msp_once; |
48 | extern int msp_amsound; | 48 | extern bool msp_amsound; |
49 | extern int msp_standard; | 49 | extern int msp_standard; |
50 | extern int msp_dolby; | 50 | extern bool msp_dolby; |
51 | extern int msp_stereo_thresh; | 51 | extern int msp_stereo_thresh; |
52 | 52 | ||
53 | struct msp_state { | 53 | struct msp_state { |
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index ee0d0b39cd1..0de598bf66b 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c | |||
@@ -70,9 +70,9 @@ static u32 video1_numbuffers = 3; | |||
70 | static u32 video2_numbuffers = 3; | 70 | static u32 video2_numbuffers = 3; |
71 | static u32 video1_bufsize = OMAP_VOUT_MAX_BUF_SIZE; | 71 | static u32 video1_bufsize = OMAP_VOUT_MAX_BUF_SIZE; |
72 | static u32 video2_bufsize = OMAP_VOUT_MAX_BUF_SIZE; | 72 | static u32 video2_bufsize = OMAP_VOUT_MAX_BUF_SIZE; |
73 | static u32 vid1_static_vrfb_alloc; | 73 | static bool vid1_static_vrfb_alloc; |
74 | static u32 vid2_static_vrfb_alloc; | 74 | static bool vid2_static_vrfb_alloc; |
75 | static int debug; | 75 | static bool debug; |
76 | 76 | ||
77 | /* Module parameters */ | 77 | /* Module parameters */ |
78 | module_param(video1_numbuffers, uint, S_IRUGO); | 78 | module_param(video1_numbuffers, uint, S_IRUGO); |
diff --git a/drivers/media/video/omap/omap_vout_vrfb.c b/drivers/media/video/omap/omap_vout_vrfb.c index ebebcac4922..4be26abf6ce 100644 --- a/drivers/media/video/omap/omap_vout_vrfb.c +++ b/drivers/media/video/omap/omap_vout_vrfb.c | |||
@@ -84,7 +84,7 @@ void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) | |||
84 | } | 84 | } |
85 | 85 | ||
86 | int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num, | 86 | int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num, |
87 | u32 static_vrfb_allocation) | 87 | bool static_vrfb_allocation) |
88 | { | 88 | { |
89 | int ret = 0, i, j; | 89 | int ret = 0, i, j; |
90 | struct omap_vout_device *vout; | 90 | struct omap_vout_device *vout; |
diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c index 8aa05853128..6a564964853 100644 --- a/drivers/media/video/ov7670.c +++ b/drivers/media/video/ov7670.c | |||
@@ -25,7 +25,7 @@ MODULE_AUTHOR("Jonathan Corbet <corbet@lwn.net>"); | |||
25 | MODULE_DESCRIPTION("A low-level driver for OmniVision ov7670 sensors"); | 25 | MODULE_DESCRIPTION("A low-level driver for OmniVision ov7670 sensors"); |
26 | MODULE_LICENSE("GPL"); | 26 | MODULE_LICENSE("GPL"); |
27 | 27 | ||
28 | static int debug; | 28 | static bool debug; |
29 | module_param(debug, bool, 0644); | 29 | module_param(debug, bool, 0644); |
30 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 30 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
31 | 31 | ||
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index 5cfdbc78b91..0ef5484696b 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -57,7 +57,7 @@ MODULE_AUTHOR( "Maxim Yevtyushkin, Kevin Thayer, Chris Kennedy, " | |||
57 | "Hans Verkuil, Mauro Carvalho Chehab"); | 57 | "Hans Verkuil, Mauro Carvalho Chehab"); |
58 | MODULE_LICENSE("GPL"); | 58 | MODULE_LICENSE("GPL"); |
59 | 59 | ||
60 | static int debug; | 60 | static bool debug; |
61 | module_param(debug, bool, 0644); | 61 | module_param(debug, bool, 0644); |
62 | 62 | ||
63 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 63 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c index b7fb5a5cad7..3c61aec517a 100644 --- a/drivers/media/video/stk-webcam.c +++ b/drivers/media/video/stk-webcam.c | |||
@@ -38,11 +38,11 @@ | |||
38 | #include "stk-webcam.h" | 38 | #include "stk-webcam.h" |
39 | 39 | ||
40 | 40 | ||
41 | static int hflip = 1; | 41 | static bool hflip = 1; |
42 | module_param(hflip, bool, 0444); | 42 | module_param(hflip, bool, 0444); |
43 | MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 1"); | 43 | MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 1"); |
44 | 44 | ||
45 | static int vflip = 1; | 45 | static bool vflip = 1; |
46 | module_param(vflip, bool, 0444); | 46 | module_param(vflip, bool, 0444); |
47 | MODULE_PARM_DESC(vflip, "Vertical image flip. Defaults to 1"); | 47 | MODULE_PARM_DESC(vflip, "Vertical image flip. Defaults to 1"); |
48 | 48 | ||
diff --git a/drivers/media/video/tm6000/tm6000-alsa.c b/drivers/media/video/tm6000/tm6000-alsa.c index 7d675c72fd4..bb2047c1035 100644 --- a/drivers/media/video/tm6000/tm6000-alsa.c +++ b/drivers/media/video/tm6000/tm6000-alsa.c | |||
@@ -42,7 +42,7 @@ | |||
42 | 42 | ||
43 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ | 43 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ |
44 | 44 | ||
45 | static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; | 45 | static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; |
46 | 46 | ||
47 | module_param_array(enable, bool, NULL, 0444); | 47 | module_param_array(enable, bool, NULL, 0444); |
48 | MODULE_PARM_DESC(enable, "Enable tm6000x soundcard. default enabled."); | 48 | MODULE_PARM_DESC(enable, "Enable tm6000x soundcard. default enabled."); |
diff --git a/drivers/media/video/tvp514x.c b/drivers/media/video/tvp514x.c index 926f0393115..dd26cacd055 100644 --- a/drivers/media/video/tvp514x.c +++ b/drivers/media/video/tvp514x.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #define LOCK_RETRY_DELAY (200) | 52 | #define LOCK_RETRY_DELAY (200) |
53 | 53 | ||
54 | /* Debug functions */ | 54 | /* Debug functions */ |
55 | static int debug; | 55 | static bool debug; |
56 | module_param(debug, bool, 0644); | 56 | module_param(debug, bool, 0644); |
57 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 57 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
58 | 58 | ||
diff --git a/drivers/media/video/tvp7002.c b/drivers/media/video/tvp7002.c index 7875e80cb2f..236c559d5f5 100644 --- a/drivers/media/video/tvp7002.c +++ b/drivers/media/video/tvp7002.c | |||
@@ -63,7 +63,7 @@ MODULE_LICENSE("GPL"); | |||
63 | #define TVP7002_CL_MASK 0x0f | 63 | #define TVP7002_CL_MASK 0x0f |
64 | 64 | ||
65 | /* Debug functions */ | 65 | /* Debug functions */ |
66 | static int debug; | 66 | static bool debug; |
67 | module_param(debug, bool, 0644); | 67 | module_param(debug, bool, 0644); |
68 | MODULE_PARM_DESC(debug, "Debug level (0-2)"); | 68 | MODULE_PARM_DESC(debug, "Debug level (0-2)"); |
69 | 69 | ||
diff --git a/drivers/media/video/upd64083.c b/drivers/media/video/upd64083.c index 9bbe61700fd..65d065aa609 100644 --- a/drivers/media/video/upd64083.c +++ b/drivers/media/video/upd64083.c | |||
@@ -34,7 +34,7 @@ MODULE_DESCRIPTION("uPD64083 driver"); | |||
34 | MODULE_AUTHOR("T. Adachi, Takeru KOMORIYA, Hans Verkuil"); | 34 | MODULE_AUTHOR("T. Adachi, Takeru KOMORIYA, Hans Verkuil"); |
35 | MODULE_LICENSE("GPL"); | 35 | MODULE_LICENSE("GPL"); |
36 | 36 | ||
37 | static int debug; | 37 | static bool debug; |
38 | module_param(debug, bool, 0644); | 38 | module_param(debug, bool, 0644); |
39 | 39 | ||
40 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 40 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
diff --git a/drivers/media/video/via-camera.c b/drivers/media/video/via-camera.c index cbf13d09b4a..bfae41ba53c 100644 --- a/drivers/media/video/via-camera.c +++ b/drivers/media/video/via-camera.c | |||
@@ -34,13 +34,13 @@ MODULE_AUTHOR("Jonathan Corbet <corbet@lwn.net>"); | |||
34 | MODULE_DESCRIPTION("VIA framebuffer-based camera controller driver"); | 34 | MODULE_DESCRIPTION("VIA framebuffer-based camera controller driver"); |
35 | MODULE_LICENSE("GPL"); | 35 | MODULE_LICENSE("GPL"); |
36 | 36 | ||
37 | static int flip_image; | 37 | static bool flip_image; |
38 | module_param(flip_image, bool, 0444); | 38 | module_param(flip_image, bool, 0444); |
39 | MODULE_PARM_DESC(flip_image, | 39 | MODULE_PARM_DESC(flip_image, |
40 | "If set, the sensor will be instructed to flip the image " | 40 | "If set, the sensor will be instructed to flip the image " |
41 | "vertically."); | 41 | "vertically."); |
42 | 42 | ||
43 | static int override_serial; | 43 | static bool override_serial; |
44 | module_param(override_serial, bool, 0444); | 44 | module_param(override_serial, bool, 0444); |
45 | MODULE_PARM_DESC(override_serial, | 45 | MODULE_PARM_DESC(override_serial, |
46 | "The camera driver will normally refuse to load if " | 46 | "The camera driver will normally refuse to load if " |
diff --git a/drivers/media/video/zoran/zoran_device.c b/drivers/media/video/zoran/zoran_device.c index e8a27844bf3..e86173bd132 100644 --- a/drivers/media/video/zoran/zoran_device.c +++ b/drivers/media/video/zoran/zoran_device.c | |||
@@ -57,7 +57,7 @@ | |||
57 | ZR36057_ISR_GIRQ1 | \ | 57 | ZR36057_ISR_GIRQ1 | \ |
58 | ZR36057_ISR_JPEGRepIRQ ) | 58 | ZR36057_ISR_JPEGRepIRQ ) |
59 | 59 | ||
60 | static int lml33dpath; /* default = 0 | 60 | static bool lml33dpath; /* default = 0 |
61 | * 1 will use digital path in capture | 61 | * 1 will use digital path in capture |
62 | * mode instead of analog. It can be | 62 | * mode instead of analog. It can be |
63 | * used for picture adjustments using | 63 | * used for picture adjustments using |
diff --git a/drivers/media/video/zoran/zr36060.c b/drivers/media/video/zoran/zr36060.c index 5e4f57cbf31..f08546fe223 100644 --- a/drivers/media/video/zoran/zr36060.c +++ b/drivers/media/video/zoran/zr36060.c | |||
@@ -50,7 +50,7 @@ | |||
50 | /* amount of chips attached via this driver */ | 50 | /* amount of chips attached via this driver */ |
51 | static int zr36060_codecs; | 51 | static int zr36060_codecs; |
52 | 52 | ||
53 | static int low_bitrate; | 53 | static bool low_bitrate; |
54 | module_param(low_bitrate, bool, 0); | 54 | module_param(low_bitrate, bool, 0); |
55 | MODULE_PARM_DESC(low_bitrate, "Buz compatibility option, halves bitrate"); | 55 | MODULE_PARM_DESC(low_bitrate, "Buz compatibility option, halves bitrate"); |
56 | 56 | ||