diff options
-rw-r--r-- | drivers/usb/serial/io_edgeport.c | 6 | ||||
-rw-r--r-- | drivers/usb/serial/mos7720.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/usb_debug.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index e5d6265eac6e..bdf8bd814a9a 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c | |||
@@ -2839,9 +2839,9 @@ static int edge_startup(struct usb_serial *serial) | |||
2839 | bool interrupt_in_found; | 2839 | bool interrupt_in_found; |
2840 | bool bulk_in_found; | 2840 | bool bulk_in_found; |
2841 | bool bulk_out_found; | 2841 | bool bulk_out_found; |
2842 | static __u32 descriptor[3] = { EDGE_COMPATIBILITY_MASK0, | 2842 | static const __u32 descriptor[3] = { EDGE_COMPATIBILITY_MASK0, |
2843 | EDGE_COMPATIBILITY_MASK1, | 2843 | EDGE_COMPATIBILITY_MASK1, |
2844 | EDGE_COMPATIBILITY_MASK2 }; | 2844 | EDGE_COMPATIBILITY_MASK2 }; |
2845 | 2845 | ||
2846 | dev = serial->dev; | 2846 | dev = serial->dev; |
2847 | 2847 | ||
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index c3a314d5bdc6..a453965f9e9a 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c | |||
@@ -1408,7 +1408,7 @@ struct divisor_table_entry { | |||
1408 | /* Define table of divisors for moschip 7720 hardware * | 1408 | /* Define table of divisors for moschip 7720 hardware * |
1409 | * These assume a 3.6864MHz crystal, the standard /16, and * | 1409 | * These assume a 3.6864MHz crystal, the standard /16, and * |
1410 | * MCR.7 = 0. */ | 1410 | * MCR.7 = 0. */ |
1411 | static struct divisor_table_entry divisor_table[] = { | 1411 | static const struct divisor_table_entry divisor_table[] = { |
1412 | { 50, 2304}, | 1412 | { 50, 2304}, |
1413 | { 110, 1047}, /* 2094.545455 => 230450 => .0217 % over */ | 1413 | { 110, 1047}, /* 2094.545455 => 230450 => .0217 % over */ |
1414 | { 134, 857}, /* 1713.011152 => 230398.5 => .00065% under */ | 1414 | { 134, 857}, /* 1713.011152 => 230398.5 => .00065% under */ |
diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c index ca2fa5bbe17e..d210eff4cd33 100644 --- a/drivers/usb/serial/usb_debug.c +++ b/drivers/usb/serial/usb_debug.c | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #define USB_DEBUG_MAX_PACKET_SIZE 8 | 18 | #define USB_DEBUG_MAX_PACKET_SIZE 8 |
19 | #define USB_DEBUG_BRK_SIZE 8 | 19 | #define USB_DEBUG_BRK_SIZE 8 |
20 | static char USB_DEBUG_BRK[USB_DEBUG_BRK_SIZE] = { | 20 | static const char USB_DEBUG_BRK[USB_DEBUG_BRK_SIZE] = { |
21 | 0x00, | 21 | 0x00, |
22 | 0xff, | 22 | 0xff, |
23 | 0x01, | 23 | 0x01, |