summaryrefslogtreecommitdiffstats
path: root/common/console.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:18 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:18 +0200
commite24bb529b18eccbe5d1082d6eed0eb7353b756e3 (patch)
tree021886e4ae3cfb6933f58ee88824e90b26a061ee /common/console.c
parentd55509abe922a8bf20049558afa3cd3659790646 (diff)
downloadbarebox-e24bb529b18eccbe5d1082d6eed0eb7353b756e3.tar.gz
barebox-e24bb529b18eccbe5d1082d6eed0eb7353b756e3.tar.xz
svn_rev_700
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index dbee1c444c..6911604c54 100644
--- a/common/console.c
+++ b/common/console.c
@@ -89,7 +89,7 @@ int console_register(struct console_device *newcdev)
struct console_device *cdev = first_console;
struct device_d *dev = newcdev->dev;
- if (cdev->setbrg) {
+ if (newcdev->setbrg) {
newcdev->baudrate_param.set = console_baudrate_set;
newcdev->baudrate_param.name = "baudrate";
sprintf(newcdev->baudrate_string, "%d",