summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2022-06-11 14:51:10 +0200
committernorly <ny-git@enpas.org>2022-06-11 14:51:10 +0200
commit90de9535e18d66f5a182dc9689dc7015d551da23 (patch)
tree28520adee5dcaec998c9db54d89d632a6b939b9d /module
parent37111be717212b8c7779978c0385393c2d51747d (diff)
Remove fixed array size for can327_bitrate_const
No idea why this was even there.
Diffstat (limited to 'module')
-rw-r--r--module/can327.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/can327.c b/module/can327.c
index ea92daf..d522c08 100644
--- a/module/can327.c
+++ b/module/can327.c
@@ -1052,7 +1052,7 @@ static void can327_ldisc_tx_wakeup(struct tty_struct *tty)
* or 7/8 of that. Divisors are 1 to 64.
* Currently we don't implement support for 7/8 rates.
*/
-static const u32 can327_bitrate_const[64] = {
+static const u32 can327_bitrate_const[] = {
7812, 7936, 8064, 8196, 8333, 8474, 8620, 8771,
8928, 9090, 9259, 9433, 9615, 9803, 10000, 10204,
10416, 10638, 10869, 11111, 11363, 11627, 11904, 12195,