aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-11-04 10:42:53 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-04 10:42:53 -0800
commitc8ebce6eeb1f6f83fd8c0de209f1f7b627220a81 (patch)
tree398e03a622d469bcf770ac601708c6aeb25f07fc /drivers/serial
parent0676fc122e712751e60ae16e0f2241064711f888 (diff)
parentb2281abf115031a5242647e0b5b170ffd3bca994 (diff)
downloadlinux-c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81.tar.gz
Merge master.kernel.org:/home/rmk/linux-2.6-serial
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/8250_early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250_early.c b/drivers/serial/8250_early.c
index b7a5dd7102285..59ba5d993b4b6 100644
--- a/drivers/serial/8250_early.c
+++ b/drivers/serial/8250_early.c
@@ -164,7 +164,7 @@ static int __init parse_options(struct early_uart_device *device, char *options)
if ((options = strchr(options, ','))) {
options++;
- device->baud = simple_strtoul(options, 0, 0);
+ device->baud = simple_strtoul(options, NULL, 0);
length = min(strcspn(options, " "), sizeof(device->options));
strncpy(device->options, options, length);
} else {