diff options
Diffstat (limited to 'drivers/serial/68328serial.c')
-rw-r--r-- | drivers/serial/68328serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c index 78ed24bb6a35..30463862603b 100644 --- a/drivers/serial/68328serial.c +++ b/drivers/serial/68328serial.c | |||
@@ -1437,7 +1437,7 @@ int m68328_console_setup(struct console *cp, char *arg) | |||
1437 | for (i = 0; i < ARRAY_SIZE(baud_table); i++) | 1437 | for (i = 0; i < ARRAY_SIZE(baud_table); i++) |
1438 | if (baud_table[i] == n) | 1438 | if (baud_table[i] == n) |
1439 | break; | 1439 | break; |
1440 | if (i < BAUD_TABLE_SIZE) { | 1440 | if (i < ARRAY_SIZE(baud_table)) { |
1441 | m68328_console_baud = n; | 1441 | m68328_console_baud = n; |
1442 | m68328_console_cbaud = 0; | 1442 | m68328_console_cbaud = 0; |
1443 | if (i > 15) { | 1443 | if (i > 15) { |