aboutsummaryrefslogtreecommitdiffstats
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
parentMerge master.kernel.org:/home/rmk/linux-2.6-arm (diff)
parent[SERIAL] 8250_early.c passing 0 instead of NULL (diff)
downloadlinux-dev-c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81.tar.xz
linux-dev-c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81.zip
Merge master.kernel.org:/home/rmk/linux-2.6-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 b7a5dd710228..59ba5d993b4b 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 {