diff options
author | Johan Hovold <johan@kernel.org> | 2017-04-18 15:42:28 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-04-19 10:45:43 +0300 |
commit | 4f37fa549d0de7aee547783752e70f877a49b0c9 (patch) | |
tree | 298be91a12e0e9dbe5a9e82b34b5d86657aa32b1 /drivers/usb/serial/mos7720.c | |
parent | 185fcb3fbe6d32d894b8b72429622d91c59b10f6 (diff) | |
download | linux-4f37fa549d0de7aee547783752e70f877a49b0c9.tar.xz |
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/mos7720.c')
-rw-r--r-- | drivers/usb/serial/mos7720.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { /* Define table of divisors for moschip 7720 hardware * * These assume a 3.6864MHz crystal, the standard /16, and * * MCR.7 = 0. */ -static struct divisor_table_entry divisor_table[] = { +static const struct divisor_table_entry divisor_table[] = { { 50, 2304}, { 110, 1047}, /* 2094.545455 => 230450 => .0217 % over */ { 134, 857}, /* 1713.011152 => 230398.5 => .00065% under */ |