drivers/pc80/i8254.c: Indent with GNU indent 2.2.11

Run `indent -linux src/drivers/pc80/i8254.c` and manually put the `;` in
the while loop back on a separate line.

Change-Id: I58c4c5df3846a91ef92aafb608962dc26a21f811
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/10452
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Paul Menzel 2015-06-07 11:11:23 +02:00 committed by Patrick Georgi
parent 8fad21db54
commit 7580b1aca4

View file

@ -31,7 +31,8 @@ void setup_i8254(void)
outb(0x00, TIMER0_PORT);
/* Timer 1 */
outb(TIMER1_SEL|LOBYTE_ACCESS|MODE3|BINARY_COUNT, TIMER_MODE_PORT);
outb(TIMER1_SEL | LOBYTE_ACCESS | MODE3 | BINARY_COUNT,
TIMER_MODE_PORT);
outb(0x12, TIMER1_PORT);
}
@ -45,7 +46,6 @@ static void load_timer2(unsigned int ticks)
outb(ticks >> 8, TIMER2_PORT);
}
void udelay(int usecs)
{
load_timer2((usecs * TICKS_PER_MS) / 1000);