diff options
author | Johan Hovold <johan@kernel.org> | 2017-04-18 08:42:28 -0400 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-04-19 03:45:43 -0400 |
commit | 4f37fa549d0de7aee547783752e70f877a49b0c9 (patch) | |
tree | 298be91a12e0e9dbe5a9e82b34b5d86657aa32b1 /drivers/usb/serial/usb_debug.c | |
parent | 185fcb3fbe6d32d894b8b72429622d91c59b10f6 (diff) |
USB: serial: constify static arrays
Declare three immutable static driver arrays as const.
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb_debug.c')
-rw-r--r-- | drivers/usb/serial/usb_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |