aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/af9005.c2
-rw-r--r--drivers/media/dvb/dvb-usb/af9005.h2
-rw-r--r--drivers/media/radio/radio-gemtek.c10
-rw-r--r--drivers/media/radio/radio-miropcm20.c2
-rw-r--r--drivers/media/rc/lirc_dev.c2
-rw-r--r--drivers/media/rc/mceusb.c4
-rw-r--r--drivers/media/rc/streamzap.c4
-rw-r--r--drivers/media/rc/winbond-cir.c4
-rw-r--r--drivers/media/video/c-qcam.c2
-rw-r--r--drivers/media/video/cs5345.c2
-rw-r--r--drivers/media/video/cs53l32a.c2
-rw-r--r--drivers/media/video/cx18/cx18-driver.c2
-rw-r--r--drivers/media/video/cx25821/cx25821-alsa.c2
-rw-r--r--drivers/media/video/cx88/cx88-alsa.c2
-rw-r--r--drivers/media/video/gspca/m5602/m5602_core.c4
-rw-r--r--drivers/media/video/gspca/m5602/m5602_mt9m111.h2
-rw-r--r--drivers/media/video/gspca/m5602/m5602_ov7660.h2
-rw-r--r--drivers/media/video/gspca/m5602/m5602_ov9650.h2
-rw-r--r--drivers/media/video/gspca/m5602/m5602_po1030.h2
-rw-r--r--drivers/media/video/gspca/m5602/m5602_s5k4aa.h2
-rw-r--r--drivers/media/video/gspca/m5602/m5602_s5k83a.h2
-rw-r--r--drivers/media/video/gspca/stv06xx/stv06xx.c4
-rw-r--r--drivers/media/video/hdpvr/hdpvr-core.c2
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c2
-rw-r--r--drivers/media/video/ivtv/ivtvfb.c2
-rw-r--r--drivers/media/video/marvell-ccic/mcam-core.c6
-rw-r--r--drivers/media/video/msp3400-driver.c6
-rw-r--r--drivers/media/video/msp3400-driver.h6
-rw-r--r--drivers/media/video/omap/omap_vout.c6
-rw-r--r--drivers/media/video/omap/omap_vout_vrfb.c2
-rw-r--r--drivers/media/video/ov7670.c2
-rw-r--r--drivers/media/video/saa7115.c2
-rw-r--r--drivers/media/video/stk-webcam.c4
-rw-r--r--drivers/media/video/tm6000/tm6000-alsa.c2
-rw-r--r--drivers/media/video/tvp514x.c2
-rw-r--r--drivers/media/video/tvp7002.c2
-rw-r--r--drivers/media/video/upd64083.c2
-rw-r--r--drivers/media/video/via-camera.c4
-rw-r--r--drivers/media/video/zoran/zoran_device.c2
-rw-r--r--drivers/media/video/zoran/zr36060.c2
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 */
33int dvb_usb_af9005_led = 1; 33bool dvb_usb_af9005_led = 1;
34module_param_named(led, dvb_usb_af9005_led, bool, 0644); 34module_param_named(led, dvb_usb_af9005_led, bool, 0644);
35MODULE_PARM_DESC(led, "enable led (default: 1)."); 35MODULE_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
38extern int dvb_usb_af9005_led; 38extern 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
49static int io = CONFIG_RADIO_GEMTEK_PORT; 49static int io = CONFIG_RADIO_GEMTEK_PORT;
50static int probe = CONFIG_RADIO_GEMTEK_PROBE; 50static bool probe = CONFIG_RADIO_GEMTEK_PROBE;
51static int hardmute; 51static bool hardmute;
52static int shutdown = 1; 52static bool shutdown = 1;
53static int keepmuted = 1; 53static bool keepmuted = 1;
54static int initmute = 1; 54static bool initmute = 1;
55static int radio_nr = -1; 55static int radio_nr = -1;
56 56
57module_param(io, int, 0444); 57module_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;
23module_param(radio_nr, int, 0); 23module_param(radio_nr, int, 0);
24MODULE_PARM_DESC(radio_nr, "Set radio device number (/dev/radioX). Default: -1 (autodetect)"); 24MODULE_PARM_DESC(radio_nr, "Set radio device number (/dev/radioX). Default: -1 (autodetect)");
25 25
26static int mono; 26static bool mono;
27module_param(mono, bool, 0); 27module_param(mono, bool, 0);
28MODULE_PARM_DESC(mono, "Force tuner into mono mode."); 28MODULE_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
41static int debug; 41static 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
159static int debug = 1; 159static bool debug = 1;
160#else 160#else
161static int debug; 161static 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
46static int debug = 1; 46static bool debug = 1;
47#else 47#else
48static int debug; 48static 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);
226MODULE_PARM_DESC(protocol, "IR protocol to use for the power-on command " 226MODULE_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
229static int invert; /* default = 0 */ 229static bool invert; /* default = 0 */
230module_param(invert, bool, 0444); 230module_param(invert, bool, 0444);
231MODULE_PARM_DESC(invert, "Invert the signal from the IR receiver"); 231MODULE_PARM_DESC(invert, "Invert the signal from the IR receiver");
232 232
233static int txandrx; /* default = 0 */ 233static bool txandrx; /* default = 0 */
234module_param(txandrx, bool, 0444); 234module_param(txandrx, bool, 0444);
235MODULE_PARM_DESC(invert, "Allow simultaneous TX and RX"); 235MODULE_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
73static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 }; 73static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 };
74static int probe = 2; 74static int probe = 2;
75static int force_rgb; 75static bool force_rgb;
76static int video_nr = -1; 76static 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");
31MODULE_AUTHOR("Hans Verkuil"); 31MODULE_AUTHOR("Hans Verkuil");
32MODULE_LICENSE("GPL"); 32MODULE_LICENSE("GPL");
33 33
34static int debug; 34static bool debug;
35 35
36module_param(debug, bool, 0644); 36module_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");
35MODULE_AUTHOR("Martin Vaughan"); 35MODULE_AUTHOR("Martin Vaughan");
36MODULE_LICENSE("GPL"); 36MODULE_LICENSE("GPL");
37 37
38static int debug; 38static bool debug;
39 39
40module_param(debug, bool, 0644); 40module_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 };
76static unsigned cardtype_c = 1; 76static unsigned cardtype_c = 1;
77static unsigned tuner_c = 1; 77static unsigned tuner_c = 1;
78static unsigned radio_c = 1; 78static bool radio_c = 1;
79static char pal[] = "--"; 79static char pal[] = "--";
80static char secam[] = "--"; 80static char secam[] = "--";
81static char ntsc[] = "-"; 81static 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
103static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 103static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
104static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 104static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
105static int enable[SNDRV_CARDS] = { 1, [1 ... (SNDRV_CARDS - 1)] = 1 }; 105static bool enable[SNDRV_CARDS] = { 1, [1 ... (SNDRV_CARDS - 1)] = 1 };
106 106
107module_param_array(enable, bool, NULL, 0444); 107module_param_array(enable, bool, NULL, 0444);
108MODULE_PARM_DESC(enable, "Enable cx25821 soundcard. default enabled."); 108MODULE_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
97static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 97static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
98static const char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 98static const char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
99static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; 99static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
100 100
101module_param_array(enable, bool, NULL, 0444); 101module_param_array(enable, bool, NULL, 0444);
102MODULE_PARM_DESC(enable, "Enable cx88x soundcard. default enabled."); 102MODULE_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 */
29int force_sensor; 29int force_sensor;
30static int dump_bridge; 30static bool dump_bridge;
31int dump_sensor; 31bool dump_sensor;
32 32
33static const struct usb_device_id m5602_table[] = { 33static 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 */
108extern int force_sensor; 108extern int force_sensor;
109extern int dump_sensor; 109extern bool dump_sensor;
110 110
111int mt9m111_probe(struct sd *sd); 111int mt9m111_probe(struct sd *sd);
112int mt9m111_init(struct sd *sd); 112int 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 */
88extern int force_sensor; 88extern int force_sensor;
89extern int dump_sensor; 89extern bool dump_sensor;
90 90
91int ov7660_probe(struct sd *sd); 91int ov7660_probe(struct sd *sd);
92int ov7660_init(struct sd *sd); 92int 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 */
137extern int force_sensor; 137extern int force_sensor;
138extern int dump_sensor; 138extern bool dump_sensor;
139 139
140int ov9650_probe(struct sd *sd); 140int ov9650_probe(struct sd *sd);
141int ov9650_init(struct sd *sd); 141int 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 */
149extern int force_sensor; 149extern int force_sensor;
150extern int dump_sensor; 150extern bool dump_sensor;
151 151
152int po1030_probe(struct sd *sd); 152int po1030_probe(struct sd *sd);
153int po1030_init(struct sd *sd); 153int 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 */
67extern int force_sensor; 67extern int force_sensor;
68extern int dump_sensor; 68extern bool dump_sensor;
69 69
70int s5k4aa_probe(struct sd *sd); 70int s5k4aa_probe(struct sd *sd);
71int s5k4aa_init(struct sd *sd); 71int 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 */
43extern int force_sensor; 43extern int force_sensor;
44extern int dump_sensor; 44extern bool dump_sensor;
45 45
46int s5k83a_probe(struct sd *sd); 46int s5k83a_probe(struct sd *sd);
47int s5k83a_init(struct sd *sd); 47int 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");
36MODULE_DESCRIPTION("STV06XX USB Camera Driver"); 36MODULE_DESCRIPTION("STV06XX USB Camera Driver");
37MODULE_LICENSE("GPL"); 37MODULE_LICENSE("GPL");
38 38
39static int dump_bridge; 39static bool dump_bridge;
40static int dump_sensor; 40static bool dump_sensor;
41 41
42int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data) 42int 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);
49MODULE_PARM_DESC(default_audio_input, "default audio input: 0=RCA back / " 49MODULE_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
52static int boost_audio; 52static bool boost_audio;
53module_param(boost_audio, bool, S_IRUGO|S_IWUSR); 53module_param(boost_audio, bool, S_IRUGO|S_IWUSR);
54MODULE_PARM_DESC(boost_audio, "boost the audio signal"); 54MODULE_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
100static unsigned int cardtype_c = 1; 100static unsigned int cardtype_c = 1;
101static unsigned int tuner_c = 1; 101static unsigned int tuner_c = 1;
102static unsigned int radio_c = 1; 102static bool radio_c = 1;
103static unsigned int i2c_clock_period_c = 1; 103static unsigned int i2c_clock_period_c = 1;
104static char pal[] = "---"; 104static char pal[] = "---";
105static char secam[] = "--"; 105static 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 */
59static int ivtvfb_card_id = -1; 59static int ivtvfb_card_id = -1;
60static int ivtvfb_debug = 0; 60static int ivtvfb_debug = 0;
61static int osd_laced; 61static bool osd_laced;
62static int osd_depth; 62static int osd_depth;
63static int osd_upper; 63static int osd_upper;
64static int osd_left; 64static 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
54static int alloc_bufs_at_read; 54static bool alloc_bufs_at_read;
55module_param(alloc_bufs_at_read, bool, 0444); 55module_param(alloc_bufs_at_read, bool, 0444);
56MODULE_PARM_DESC(alloc_bufs_at_read, 56MODULE_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 */
76static const int alloc_bufs_at_read = 0; 76static const bool alloc_bufs_at_read = 0;
77static const int n_dma_bufs = 3; /* Used by S/G_PARM */ 77static const int n_dma_bufs = 3; /* Used by S/G_PARM */
78#endif /* MCAM_MODE_VMALLOC */ 78#endif /* MCAM_MODE_VMALLOC */
79 79
80static int flip; 80static bool flip;
81module_param(flip, bool, 0444); 81module_param(flip, bool, 0444);
82MODULE_PARM_DESC(flip, 82MODULE_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 */
70static int opmode = OPMODE_AUTO; 70static int opmode = OPMODE_AUTO;
71int msp_debug; /* msp_debug output */ 71int msp_debug; /* msp_debug output */
72int msp_once; /* no continuous stereo monitoring */ 72bool msp_once; /* no continuous stereo monitoring */
73int msp_amsound; /* hard-wire AM sound at 6.5 Hz (france), 73bool 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... */
75int msp_standard = 1; /* Override auto detect of audio msp_standard, 75int msp_standard = 1; /* Override auto detect of audio msp_standard,
76 if needed. */ 76 if needed. */
77int msp_dolby; 77bool msp_dolby;
78 78
79int msp_stereo_thresh = 0x190; /* a2 threshold for stereo/bilingual 79int 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 */
46extern int msp_debug; 46extern int msp_debug;
47extern int msp_once; 47extern bool msp_once;
48extern int msp_amsound; 48extern bool msp_amsound;
49extern int msp_standard; 49extern int msp_standard;
50extern int msp_dolby; 50extern bool msp_dolby;
51extern int msp_stereo_thresh; 51extern int msp_stereo_thresh;
52 52
53struct msp_state { 53struct 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;
70static u32 video2_numbuffers = 3; 70static u32 video2_numbuffers = 3;
71static u32 video1_bufsize = OMAP_VOUT_MAX_BUF_SIZE; 71static u32 video1_bufsize = OMAP_VOUT_MAX_BUF_SIZE;
72static u32 video2_bufsize = OMAP_VOUT_MAX_BUF_SIZE; 72static u32 video2_bufsize = OMAP_VOUT_MAX_BUF_SIZE;
73static u32 vid1_static_vrfb_alloc; 73static bool vid1_static_vrfb_alloc;
74static u32 vid2_static_vrfb_alloc; 74static bool vid2_static_vrfb_alloc;
75static int debug; 75static bool debug;
76 76
77/* Module parameters */ 77/* Module parameters */
78module_param(video1_numbuffers, uint, S_IRUGO); 78module_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
86int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num, 86int 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>");
25MODULE_DESCRIPTION("A low-level driver for OmniVision ov7670 sensors"); 25MODULE_DESCRIPTION("A low-level driver for OmniVision ov7670 sensors");
26MODULE_LICENSE("GPL"); 26MODULE_LICENSE("GPL");
27 27
28static int debug; 28static bool debug;
29module_param(debug, bool, 0644); 29module_param(debug, bool, 0644);
30MODULE_PARM_DESC(debug, "Debug level (0-1)"); 30MODULE_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");
58MODULE_LICENSE("GPL"); 58MODULE_LICENSE("GPL");
59 59
60static int debug; 60static bool debug;
61module_param(debug, bool, 0644); 61module_param(debug, bool, 0644);
62 62
63MODULE_PARM_DESC(debug, "Debug level (0-1)"); 63MODULE_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
41static int hflip = 1; 41static bool hflip = 1;
42module_param(hflip, bool, 0444); 42module_param(hflip, bool, 0444);
43MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 1"); 43MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 1");
44 44
45static int vflip = 1; 45static bool vflip = 1;
46module_param(vflip, bool, 0444); 46module_param(vflip, bool, 0444);
47MODULE_PARM_DESC(vflip, "Vertical image flip. Defaults to 1"); 47MODULE_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
43static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 43static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
44 44
45static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; 45static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
46 46
47module_param_array(enable, bool, NULL, 0444); 47module_param_array(enable, bool, NULL, 0444);
48MODULE_PARM_DESC(enable, "Enable tm6000x soundcard. default enabled."); 48MODULE_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 */
55static int debug; 55static bool debug;
56module_param(debug, bool, 0644); 56module_param(debug, bool, 0644);
57MODULE_PARM_DESC(debug, "Debug level (0-1)"); 57MODULE_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 */
66static int debug; 66static bool debug;
67module_param(debug, bool, 0644); 67module_param(debug, bool, 0644);
68MODULE_PARM_DESC(debug, "Debug level (0-2)"); 68MODULE_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");
34MODULE_AUTHOR("T. Adachi, Takeru KOMORIYA, Hans Verkuil"); 34MODULE_AUTHOR("T. Adachi, Takeru KOMORIYA, Hans Verkuil");
35MODULE_LICENSE("GPL"); 35MODULE_LICENSE("GPL");
36 36
37static int debug; 37static bool debug;
38module_param(debug, bool, 0644); 38module_param(debug, bool, 0644);
39 39
40MODULE_PARM_DESC(debug, "Debug level (0-1)"); 40MODULE_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>");
34MODULE_DESCRIPTION("VIA framebuffer-based camera controller driver"); 34MODULE_DESCRIPTION("VIA framebuffer-based camera controller driver");
35MODULE_LICENSE("GPL"); 35MODULE_LICENSE("GPL");
36 36
37static int flip_image; 37static bool flip_image;
38module_param(flip_image, bool, 0444); 38module_param(flip_image, bool, 0444);
39MODULE_PARM_DESC(flip_image, 39MODULE_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
43static int override_serial; 43static bool override_serial;
44module_param(override_serial, bool, 0444); 44module_param(override_serial, bool, 0444);
45MODULE_PARM_DESC(override_serial, 45MODULE_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
60static int lml33dpath; /* default = 0 60static 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 */
51static int zr36060_codecs; 51static int zr36060_codecs;
52 52
53static int low_bitrate; 53static bool low_bitrate;
54module_param(low_bitrate, bool, 0); 54module_param(low_bitrate, bool, 0);
55MODULE_PARM_DESC(low_bitrate, "Buz compatibility option, halves bitrate"); 55MODULE_PARM_DESC(low_bitrate, "Buz compatibility option, halves bitrate");
56 56