diff options
Diffstat (limited to 'drivers/usb/serial')
41 files changed, 49 insertions, 49 deletions
diff --git a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c index b43d07df4c44..123bf9155339 100644 --- a/drivers/usb/serial/aircable.c +++ b/drivers/usb/serial/aircable.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <linux/usb.h> | 52 | #include <linux/usb.h> |
53 | #include <linux/usb/serial.h> | 53 | #include <linux/usb/serial.h> |
54 | 54 | ||
55 | static int debug; | 55 | static bool debug; |
56 | 56 | ||
57 | /* Vendor and Product ID */ | 57 | /* Vendor and Product ID */ |
58 | #define AIRCABLE_VID 0x16CA | 58 | #define AIRCABLE_VID 0x16CA |
diff --git a/drivers/usb/serial/ark3116.c b/drivers/usb/serial/ark3116.c index 18e875b92e00..69328dcfd91a 100644 --- a/drivers/usb/serial/ark3116.c +++ b/drivers/usb/serial/ark3116.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/mutex.h> | 37 | #include <linux/mutex.h> |
38 | #include <linux/spinlock.h> | 38 | #include <linux/spinlock.h> |
39 | 39 | ||
40 | static int debug; | 40 | static bool debug; |
41 | /* | 41 | /* |
42 | * Version information | 42 | * Version information |
43 | */ | 43 | */ |
diff --git a/drivers/usb/serial/belkin_sa.c b/drivers/usb/serial/belkin_sa.c index f9f29b289f2f..29ffeb6279c7 100644 --- a/drivers/usb/serial/belkin_sa.c +++ b/drivers/usb/serial/belkin_sa.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/usb/serial.h> | 37 | #include <linux/usb/serial.h> |
38 | #include "belkin_sa.h" | 38 | #include "belkin_sa.h" |
39 | 39 | ||
40 | static int debug; | 40 | static bool debug; |
41 | 41 | ||
42 | /* | 42 | /* |
43 | * Version Information | 43 | * Version Information |
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c index 0e77511060c0..5e53cc59e652 100644 --- a/drivers/usb/serial/ch341.c +++ b/drivers/usb/serial/ch341.c | |||
@@ -70,7 +70,7 @@ | |||
70 | #define CH341_NBREAK_BITS_REG2 0x40 | 70 | #define CH341_NBREAK_BITS_REG2 0x40 |
71 | 71 | ||
72 | 72 | ||
73 | static int debug; | 73 | static bool debug; |
74 | 74 | ||
75 | static const struct usb_device_id id_table[] = { | 75 | static const struct usb_device_id id_table[] = { |
76 | { USB_DEVICE(0x4348, 0x5523) }, | 76 | { USB_DEVICE(0x4348, 0x5523) }, |
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index adfe660ed008..fba1147ed916 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c | |||
@@ -49,7 +49,7 @@ static void cp210x_break_ctl(struct tty_struct *, int); | |||
49 | static int cp210x_startup(struct usb_serial *); | 49 | static int cp210x_startup(struct usb_serial *); |
50 | static void cp210x_dtr_rts(struct usb_serial_port *p, int on); | 50 | static void cp210x_dtr_rts(struct usb_serial_port *p, int on); |
51 | 51 | ||
52 | static int debug; | 52 | static bool debug; |
53 | 53 | ||
54 | static const struct usb_device_id id_table[] = { | 54 | static const struct usb_device_id id_table[] = { |
55 | { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ | 55 | { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ |
diff --git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c index 98bf83349838..6bc3802a581a 100644 --- a/drivers/usb/serial/cyberjack.c +++ b/drivers/usb/serial/cyberjack.c | |||
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | #define CYBERJACK_LOCAL_BUF_SIZE 32 | 44 | #define CYBERJACK_LOCAL_BUF_SIZE 32 |
45 | 45 | ||
46 | static int debug; | 46 | static bool debug; |
47 | 47 | ||
48 | /* | 48 | /* |
49 | * Version Information | 49 | * Version Information |
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index 07680d6b792b..3bdeafa29c24 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -46,10 +46,10 @@ | |||
46 | #include "cypress_m8.h" | 46 | #include "cypress_m8.h" |
47 | 47 | ||
48 | 48 | ||
49 | static int debug; | 49 | static bool debug; |
50 | static int stats; | 50 | static bool stats; |
51 | static int interval; | 51 | static int interval; |
52 | static int unstable_bauds; | 52 | static bool unstable_bauds; |
53 | 53 | ||
54 | /* | 54 | /* |
55 | * Version Information | 55 | * Version Information |
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c index 6d26a77d0f2a..b23bebd721a1 100644 --- a/drivers/usb/serial/digi_acceleport.c +++ b/drivers/usb/serial/digi_acceleport.c | |||
@@ -251,7 +251,7 @@ static int digi_read_oob_callback(struct urb *urb); | |||
251 | 251 | ||
252 | /* Statics */ | 252 | /* Statics */ |
253 | 253 | ||
254 | static int debug; | 254 | static bool debug; |
255 | 255 | ||
256 | static const struct usb_device_id id_table_combined[] = { | 256 | static const struct usb_device_id id_table_combined[] = { |
257 | { USB_DEVICE(DIGI_VENDOR_ID, DIGI_2_ID) }, | 257 | { USB_DEVICE(DIGI_VENDOR_ID, DIGI_2_ID) }, |
diff --git a/drivers/usb/serial/empeg.c b/drivers/usb/serial/empeg.c index 504b5585ea45..aced6817bf95 100644 --- a/drivers/usb/serial/empeg.c +++ b/drivers/usb/serial/empeg.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/usb.h> | 28 | #include <linux/usb.h> |
29 | #include <linux/usb/serial.h> | 29 | #include <linux/usb/serial.h> |
30 | 30 | ||
31 | static int debug; | 31 | static bool debug; |
32 | 32 | ||
33 | /* | 33 | /* |
34 | * Version Information | 34 | * Version Information |
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index c290df97108e..01b6404df395 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>, Andreas Mohr, Johan Hovold <jhovold@gmail.com>" | 55 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>, Andreas Mohr, Johan Hovold <jhovold@gmail.com>" |
56 | #define DRIVER_DESC "USB FTDI Serial Converters Driver" | 56 | #define DRIVER_DESC "USB FTDI Serial Converters Driver" |
57 | 57 | ||
58 | static int debug; | 58 | static bool debug; |
59 | static __u16 vendor = FTDI_VID; | 59 | static __u16 vendor = FTDI_VID; |
60 | static __u16 product; | 60 | static __u16 product; |
61 | 61 | ||
diff --git a/drivers/usb/serial/funsoft.c b/drivers/usb/serial/funsoft.c index e21ce9ddfc63..5d4b099dcf8b 100644 --- a/drivers/usb/serial/funsoft.c +++ b/drivers/usb/serial/funsoft.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/usb/serial.h> | 16 | #include <linux/usb/serial.h> |
17 | #include <linux/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | static int debug; | 19 | static bool debug; |
20 | 20 | ||
21 | static const struct usb_device_id id_table[] = { | 21 | static const struct usb_device_id id_table[] = { |
22 | { USB_DEVICE(0x1404, 0xcddc) }, | 22 | { USB_DEVICE(0x1404, 0xcddc) }, |
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c index bf12565f8e87..21343378c322 100644 --- a/drivers/usb/serial/garmin_gps.c +++ b/drivers/usb/serial/garmin_gps.c | |||
@@ -42,7 +42,7 @@ | |||
42 | static int initial_mode = 1; | 42 | static int initial_mode = 1; |
43 | 43 | ||
44 | /* debug flag */ | 44 | /* debug flag */ |
45 | static int debug; | 45 | static bool debug; |
46 | 46 | ||
47 | #define GARMIN_VENDOR_ID 0x091E | 47 | #define GARMIN_VENDOR_ID 0x091E |
48 | 48 | ||
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index abd2ee2b2f99..0497575e4799 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c | |||
@@ -191,7 +191,7 @@ static const struct divisor_table_entry divisor_table[] = { | |||
191 | }; | 191 | }; |
192 | 192 | ||
193 | /* local variables */ | 193 | /* local variables */ |
194 | static int debug; | 194 | static bool debug; |
195 | 195 | ||
196 | static atomic_t CmdUrbs; /* Number of outstanding Command Write Urbs */ | 196 | static atomic_t CmdUrbs; /* Number of outstanding Command Write Urbs */ |
197 | 197 | ||
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index e44d375edaad..65bf06aa591a 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -210,10 +210,10 @@ static unsigned char OperationalMajorVersion; | |||
210 | static unsigned char OperationalMinorVersion; | 210 | static unsigned char OperationalMinorVersion; |
211 | static unsigned short OperationalBuildNumber; | 211 | static unsigned short OperationalBuildNumber; |
212 | 212 | ||
213 | static int debug; | 213 | static bool debug; |
214 | 214 | ||
215 | static int closing_wait = EDGE_CLOSING_WAIT; | 215 | static int closing_wait = EDGE_CLOSING_WAIT; |
216 | static int ignore_cpu_rev; | 216 | static bool ignore_cpu_rev; |
217 | static int default_uart_mode; /* RS232 */ | 217 | static int default_uart_mode; /* RS232 */ |
218 | 218 | ||
219 | static void edge_tty_recv(struct device *dev, struct tty_struct *tty, | 219 | static void edge_tty_recv(struct device *dev, struct tty_struct *tty, |
diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c index 36f5cbe90485..06053a920dd8 100644 --- a/drivers/usb/serial/ipaq.c +++ b/drivers/usb/serial/ipaq.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #define DRIVER_DESC "USB PocketPC PDA driver" | 34 | #define DRIVER_DESC "USB PocketPC PDA driver" |
35 | 35 | ||
36 | static __u16 product, vendor; | 36 | static __u16 product, vendor; |
37 | static int debug; | 37 | static bool debug; |
38 | static int connect_retries = KP_RETRIES; | 38 | static int connect_retries = KP_RETRIES; |
39 | static int initial_wait; | 39 | static int initial_wait; |
40 | 40 | ||
diff --git a/drivers/usb/serial/ipw.c b/drivers/usb/serial/ipw.c index 5170799d6e94..6f9356f3f99e 100644 --- a/drivers/usb/serial/ipw.c +++ b/drivers/usb/serial/ipw.c | |||
@@ -147,7 +147,7 @@ static struct usb_driver usb_ipw_driver = { | |||
147 | .no_dynamic_id = 1, | 147 | .no_dynamic_id = 1, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | static int debug; | 150 | static bool debug; |
151 | 151 | ||
152 | static int ipw_open(struct tty_struct *tty, struct usb_serial_port *port) | 152 | static int ipw_open(struct tty_struct *tty, struct usb_serial_port *port) |
153 | { | 153 | { |
diff --git a/drivers/usb/serial/ir-usb.c b/drivers/usb/serial/ir-usb.c index 0c537da0d3cd..84a396e83671 100644 --- a/drivers/usb/serial/ir-usb.c +++ b/drivers/usb/serial/ir-usb.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Johan Hovold <jhovold@gmail.com>" | 45 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Johan Hovold <jhovold@gmail.com>" |
46 | #define DRIVER_DESC "USB IR Dongle driver" | 46 | #define DRIVER_DESC "USB IR Dongle driver" |
47 | 47 | ||
48 | static int debug; | 48 | static bool debug; |
49 | 49 | ||
50 | /* if overridden by the user, then use their value for the size of the read and | 50 | /* if overridden by the user, then use their value for the size of the read and |
51 | * write urbs */ | 51 | * write urbs */ |
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index 64d0ffd4440b..3077a4436976 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c | |||
@@ -34,9 +34,9 @@ | |||
34 | 34 | ||
35 | 35 | ||
36 | #ifdef CONFIG_USB_SERIAL_DEBUG | 36 | #ifdef CONFIG_USB_SERIAL_DEBUG |
37 | static int debug = 1; | 37 | static bool debug = 1; |
38 | #else | 38 | #else |
39 | static int debug; | 39 | static bool debug; |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | /* | 42 | /* |
@@ -65,7 +65,7 @@ static int clockmode = 1; | |||
65 | static int cdmode = 1; | 65 | static int cdmode = 1; |
66 | static int iuu_cardin; | 66 | static int iuu_cardin; |
67 | static int iuu_cardout; | 67 | static int iuu_cardout; |
68 | static int xmas; | 68 | static bool xmas; |
69 | static int vcc_default = 5; | 69 | static int vcc_default = 5; |
70 | 70 | ||
71 | static void read_rxcmd_callback(struct urb *urb); | 71 | static void read_rxcmd_callback(struct urb *urb); |
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c index bc8dc203e818..4cc36c761801 100644 --- a/drivers/usb/serial/keyspan.c +++ b/drivers/usb/serial/keyspan.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/usb/serial.h> | 45 | #include <linux/usb/serial.h> |
46 | #include "keyspan.h" | 46 | #include "keyspan.h" |
47 | 47 | ||
48 | static int debug; | 48 | static bool debug; |
49 | 49 | ||
50 | /* | 50 | /* |
51 | * Version Information | 51 | * Version Information |
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c index a40615674a68..7c62a7048302 100644 --- a/drivers/usb/serial/keyspan_pda.c +++ b/drivers/usb/serial/keyspan_pda.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/usb.h> | 31 | #include <linux/usb.h> |
32 | #include <linux/usb/serial.h> | 32 | #include <linux/usb/serial.h> |
33 | 33 | ||
34 | static int debug; | 34 | static bool debug; |
35 | 35 | ||
36 | /* make a simple define to handle if we are compiling keyspan_pda or xircom support */ | 36 | /* make a simple define to handle if we are compiling keyspan_pda or xircom support */ |
37 | #if defined(CONFIG_USB_SERIAL_KEYSPAN_PDA) || defined(CONFIG_USB_SERIAL_KEYSPAN_PDA_MODULE) | 37 | #if defined(CONFIG_USB_SERIAL_KEYSPAN_PDA) || defined(CONFIG_USB_SERIAL_KEYSPAN_PDA_MODULE) |
diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c index 19373cb7c5bf..fc064e1442ca 100644 --- a/drivers/usb/serial/kl5kusb105.c +++ b/drivers/usb/serial/kl5kusb105.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <linux/usb/serial.h> | 49 | #include <linux/usb/serial.h> |
50 | #include "kl5kusb105.h" | 50 | #include "kl5kusb105.h" |
51 | 51 | ||
52 | static int debug; | 52 | static bool debug; |
53 | 53 | ||
54 | /* | 54 | /* |
55 | * Version Information | 55 | * Version Information |
diff --git a/drivers/usb/serial/mct_u232.c b/drivers/usb/serial/mct_u232.c index a975bb80303f..27fa9c8a77b0 100644 --- a/drivers/usb/serial/mct_u232.c +++ b/drivers/usb/serial/mct_u232.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #define DRIVER_AUTHOR "Wolfgang Grandegger <wolfgang@ces.ch>" | 45 | #define DRIVER_AUTHOR "Wolfgang Grandegger <wolfgang@ces.ch>" |
46 | #define DRIVER_DESC "Magic Control Technology USB-RS232 converter driver" | 46 | #define DRIVER_DESC "Magic Control Technology USB-RS232 converter driver" |
47 | 47 | ||
48 | static int debug; | 48 | static bool debug; |
49 | 49 | ||
50 | /* | 50 | /* |
51 | * Function prototypes | 51 | * Function prototypes |
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 19d112f51b97..4554ee49e635 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c | |||
@@ -71,7 +71,7 @@ struct moschip_port { | |||
71 | struct urb *write_urb_pool[NUM_URBS]; | 71 | struct urb *write_urb_pool[NUM_URBS]; |
72 | }; | 72 | }; |
73 | 73 | ||
74 | static int debug; | 74 | static bool debug; |
75 | 75 | ||
76 | static struct usb_serial_driver moschip7720_2port_driver; | 76 | static struct usb_serial_driver moschip7720_2port_driver; |
77 | 77 | ||
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 55cfd6265b98..03b5e249e95e 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c | |||
@@ -263,7 +263,7 @@ struct moschip_port { | |||
263 | }; | 263 | }; |
264 | 264 | ||
265 | 265 | ||
266 | static int debug; | 266 | static bool debug; |
267 | 267 | ||
268 | /* | 268 | /* |
269 | * mos7840_set_reg_sync | 269 | * mos7840_set_reg_sync |
diff --git a/drivers/usb/serial/navman.c b/drivers/usb/serial/navman.c index 1f00f243c26c..b28f1db0195f 100644 --- a/drivers/usb/serial/navman.c +++ b/drivers/usb/serial/navman.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/usb.h> | 21 | #include <linux/usb.h> |
22 | #include <linux/usb/serial.h> | 22 | #include <linux/usb/serial.h> |
23 | 23 | ||
24 | static int debug; | 24 | static bool debug; |
25 | 25 | ||
26 | static const struct usb_device_id id_table[] = { | 26 | static const struct usb_device_id id_table[] = { |
27 | { USB_DEVICE(0x0a99, 0x0001) }, /* Talon Technology device */ | 27 | { USB_DEVICE(0x0a99, 0x0001) }, /* Talon Technology device */ |
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index 45a8c55881d3..8b8d58a2ac12 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/usb.h> | 23 | #include <linux/usb.h> |
24 | #include <linux/usb/serial.h> | 24 | #include <linux/usb/serial.h> |
25 | 25 | ||
26 | static int debug; | 26 | static bool debug; |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Version Information | 29 | * Version Information |
diff --git a/drivers/usb/serial/opticon.c b/drivers/usb/serial/opticon.c index 691f57a9d712..262ded9e076b 100644 --- a/drivers/usb/serial/opticon.c +++ b/drivers/usb/serial/opticon.c | |||
@@ -32,7 +32,7 @@ | |||
32 | * an examples of 1D barcode types are EAN, UPC, Code39, IATA etc.. */ | 32 | * an examples of 1D barcode types are EAN, UPC, Code39, IATA etc.. */ |
33 | #define DRIVER_DESC "Opticon USB barcode to serial driver (1D)" | 33 | #define DRIVER_DESC "Opticon USB barcode to serial driver (1D)" |
34 | 34 | ||
35 | static int debug; | 35 | static bool debug; |
36 | 36 | ||
37 | static const struct usb_device_id id_table[] = { | 37 | static const struct usb_device_id id_table[] = { |
38 | { USB_DEVICE(0x065a, 0x0009) }, | 38 | { USB_DEVICE(0x065a, 0x0009) }, |
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index c96b6b6509fb..420d9857394a 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -1234,7 +1234,7 @@ static struct usb_serial_driver option_1port_device = { | |||
1234 | #endif | 1234 | #endif |
1235 | }; | 1235 | }; |
1236 | 1236 | ||
1237 | static int debug; | 1237 | static bool debug; |
1238 | 1238 | ||
1239 | /* per port private data */ | 1239 | /* per port private data */ |
1240 | 1240 | ||
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c index 2161d1c3c089..e287fd32682c 100644 --- a/drivers/usb/serial/oti6858.c +++ b/drivers/usb/serial/oti6858.c | |||
@@ -74,7 +74,7 @@ static struct usb_driver oti6858_driver = { | |||
74 | .no_dynamic_id = 1, | 74 | .no_dynamic_id = 1, |
75 | }; | 75 | }; |
76 | 76 | ||
77 | static int debug; | 77 | static bool debug; |
78 | 78 | ||
79 | /* requests */ | 79 | /* requests */ |
80 | #define OTI6858_REQ_GET_STATUS (USB_DIR_IN | USB_TYPE_VENDOR | 0x00) | 80 | #define OTI6858_REQ_GET_STATUS (USB_DIR_IN | USB_TYPE_VENDOR | 0x00) |
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 329295615d06..3d8cda57ce7a 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | #define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver" | 37 | #define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver" |
38 | 38 | ||
39 | static int debug; | 39 | static bool debug; |
40 | 40 | ||
41 | #define PL2303_CLOSING_WAIT (30*HZ) | 41 | #define PL2303_CLOSING_WAIT (30*HZ) |
42 | 42 | ||
diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c index aa9367f5b421..1d5deee3be52 100644 --- a/drivers/usb/serial/qcserial.c +++ b/drivers/usb/serial/qcserial.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #define DRIVER_AUTHOR "Qualcomm Inc" | 22 | #define DRIVER_AUTHOR "Qualcomm Inc" |
23 | #define DRIVER_DESC "Qualcomm USB Serial driver" | 23 | #define DRIVER_DESC "Qualcomm USB Serial driver" |
24 | 24 | ||
25 | static int debug; | 25 | static bool debug; |
26 | 26 | ||
27 | static const struct usb_device_id id_table[] = { | 27 | static const struct usb_device_id id_table[] = { |
28 | {USB_DEVICE(0x05c6, 0x9211)}, /* Acer Gobi QDL device */ | 28 | {USB_DEVICE(0x05c6, 0x9211)}, /* Acer Gobi QDL device */ |
diff --git a/drivers/usb/serial/safe_serial.c b/drivers/usb/serial/safe_serial.c index a36e2313eed0..d074b3740dcb 100644 --- a/drivers/usb/serial/safe_serial.c +++ b/drivers/usb/serial/safe_serial.c | |||
@@ -81,9 +81,9 @@ | |||
81 | #define CONFIG_USB_SERIAL_SAFE_PADDED 0 | 81 | #define CONFIG_USB_SERIAL_SAFE_PADDED 0 |
82 | #endif | 82 | #endif |
83 | 83 | ||
84 | static int debug; | 84 | static bool debug; |
85 | static int safe = 1; | 85 | static bool safe = 1; |
86 | static int padded = CONFIG_USB_SERIAL_SAFE_PADDED; | 86 | static bool padded = CONFIG_USB_SERIAL_SAFE_PADDED; |
87 | 87 | ||
88 | #define DRIVER_VERSION "v0.1" | 88 | #define DRIVER_VERSION "v0.1" |
89 | #define DRIVER_AUTHOR "sl@lineo.com, tbr@lineo.com, Johan Hovold <jhovold@gmail.com>" | 89 | #define DRIVER_AUTHOR "sl@lineo.com, tbr@lineo.com, Johan Hovold <jhovold@gmail.com>" |
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index f2485429172f..fdae0a4407cb 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -46,8 +46,8 @@ | |||
46 | allocations > PAGE_SIZE and the number of packets in a page | 46 | allocations > PAGE_SIZE and the number of packets in a page |
47 | is an integer 512 is the largest possible packet on EHCI */ | 47 | is an integer 512 is the largest possible packet on EHCI */ |
48 | 48 | ||
49 | static int debug; | 49 | static bool debug; |
50 | static int nmea; | 50 | static bool nmea; |
51 | 51 | ||
52 | /* Used in interface blacklisting */ | 52 | /* Used in interface blacklisting */ |
53 | struct sierra_iface_info { | 53 | struct sierra_iface_info { |
diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c index 180ea6c7911c..d7f5eee18f00 100644 --- a/drivers/usb/serial/spcp8x5.c +++ b/drivers/usb/serial/spcp8x5.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #define DRIVER_VERSION "v0.10" | 33 | #define DRIVER_VERSION "v0.10" |
34 | #define DRIVER_DESC "SPCP8x5 USB to serial adaptor driver" | 34 | #define DRIVER_DESC "SPCP8x5 USB to serial adaptor driver" |
35 | 35 | ||
36 | static int debug; | 36 | static bool debug; |
37 | 37 | ||
38 | #define SPCP8x5_007_VID 0x04FC | 38 | #define SPCP8x5_007_VID 0x04FC |
39 | #define SPCP8x5_007_PID 0x0201 | 39 | #define SPCP8x5_007_PID 0x0201 |
diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c index 87362e48796e..7697858d8858 100644 --- a/drivers/usb/serial/ssu100.c +++ b/drivers/usb/serial/ssu100.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #define FULLPWRBIT 0x00000080 | 46 | #define FULLPWRBIT 0x00000080 |
47 | #define NEXT_BOARD_POWER_BIT 0x00000004 | 47 | #define NEXT_BOARD_POWER_BIT 0x00000004 |
48 | 48 | ||
49 | static int debug; | 49 | static bool debug; |
50 | 50 | ||
51 | /* Version Information */ | 51 | /* Version Information */ |
52 | #define DRIVER_VERSION "v0.1" | 52 | #define DRIVER_VERSION "v0.1" |
diff --git a/drivers/usb/serial/symbolserial.c b/drivers/usb/serial/symbolserial.c index c70cc012d03f..50651cf4fc61 100644 --- a/drivers/usb/serial/symbolserial.c +++ b/drivers/usb/serial/symbolserial.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/usb/serial.h> | 20 | #include <linux/usb/serial.h> |
21 | #include <linux/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | static int debug; | 23 | static bool debug; |
24 | 24 | ||
25 | static const struct usb_device_id id_table[] = { | 25 | static const struct usb_device_id id_table[] = { |
26 | { USB_DEVICE(0x05e0, 0x0600) }, | 26 | { USB_DEVICE(0x05e0, 0x0600) }, |
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index 4af21f46096e..8468eb769a29 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c | |||
@@ -150,7 +150,7 @@ static int ti_download_firmware(struct ti_device *tdev); | |||
150 | /* Data */ | 150 | /* Data */ |
151 | 151 | ||
152 | /* module parameters */ | 152 | /* module parameters */ |
153 | static int debug; | 153 | static bool debug; |
154 | static int closing_wait = TI_DEFAULT_CLOSING_WAIT; | 154 | static int closing_wait = TI_DEFAULT_CLOSING_WAIT; |
155 | static ushort vendor_3410[TI_EXTRA_VID_PID_COUNT]; | 155 | static ushort vendor_3410[TI_EXTRA_VID_PID_COUNT]; |
156 | static unsigned int vendor_3410_count; | 156 | static unsigned int vendor_3410_count; |
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index ce6c1a65a544..611b206591cb 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -61,7 +61,7 @@ static struct usb_driver usb_serial_driver = { | |||
61 | drivers depend on it. | 61 | drivers depend on it. |
62 | */ | 62 | */ |
63 | 63 | ||
64 | static int debug; | 64 | static bool debug; |
65 | /* initially all NULL */ | 65 | /* initially all NULL */ |
66 | static struct usb_serial *serial_table[SERIAL_TTY_MINORS]; | 66 | static struct usb_serial *serial_table[SERIAL_TTY_MINORS]; |
67 | static DEFINE_MUTEX(table_lock); | 67 | static DEFINE_MUTEX(table_lock); |
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index d555ca9567b8..c88657dd31c8 100644 --- a/drivers/usb/serial/usb_wwan.c +++ b/drivers/usb/serial/usb_wwan.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/serial.h> | 37 | #include <linux/serial.h> |
38 | #include "usb-wwan.h" | 38 | #include "usb-wwan.h" |
39 | 39 | ||
40 | static int debug; | 40 | static bool debug; |
41 | 41 | ||
42 | void usb_wwan_dtr_rts(struct usb_serial_port *port, int on) | 42 | void usb_wwan_dtr_rts(struct usb_serial_port *port, int on) |
43 | { | 43 | { |
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 1c11959a7d58..210e4b10dc11 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -52,7 +52,7 @@ static int palm_os_4_probe(struct usb_serial *serial, | |||
52 | const struct usb_device_id *id); | 52 | const struct usb_device_id *id); |
53 | 53 | ||
54 | /* Parameters that may be passed into the module. */ | 54 | /* Parameters that may be passed into the module. */ |
55 | static int debug; | 55 | static bool debug; |
56 | static __u16 vendor; | 56 | static __u16 vendor; |
57 | static __u16 product; | 57 | static __u16 product; |
58 | 58 | ||
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index 11af903cb09f..7e0acf5c8e38 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/ihex.h> | 36 | #include <linux/ihex.h> |
37 | #include "whiteheat.h" /* WhiteHEAT specific commands */ | 37 | #include "whiteheat.h" /* WhiteHEAT specific commands */ |
38 | 38 | ||
39 | static int debug; | 39 | static bool debug; |
40 | 40 | ||
41 | #ifndef CMSPAR | 41 | #ifndef CMSPAR |
42 | #define CMSPAR 0 | 42 | #define CMSPAR 0 |