diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-13 16:06:02 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-13 16:06:02 +0200 |
commit | 2a9c1de93fd9e74a79cc3fc66331d02797a98329 (patch) | |
tree | d8355e5597ef542d97b13d6758545f2528bdf48a /common/console.c | |
parent | 8c42a8f67c8ac14affd18c33e996b09197076f5e (diff) | |
download | barebox-2a9c1de93fd9e74a79cc3fc66331d02797a98329.tar.gz barebox-2a9c1de93fd9e74a79cc3fc66331d02797a98329.tar.xz |
whitespace cleanup
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/console.c b/common/console.c index f65e15b1a6..47dcfe41d4 100644 --- a/common/console.c +++ b/common/console.c @@ -93,7 +93,7 @@ static int console_baudrate_set(struct device_d *dev, struct param_d *param, int console_register(struct console_device *newcdev) { - struct console_device *cdev = first_console; + struct console_device *cdev = first_console; struct device_d *dev = newcdev->dev; if (newcdev->setbrg) { @@ -125,12 +125,12 @@ int console_register(struct console_device *newcdev) } while (1) { - if (!cdev->next) { - cdev->next = newcdev; - return 0; - } - cdev = cdev->next; - } + if (!cdev->next) { + cdev->next = newcdev; + return 0; + } + cdev = cdev->next; + } } int getc (void) |