summaryrefslogtreecommitdiff
path: root/util/flashrom/udelay.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-04-01 19:44:21 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-04-01 19:44:21 +0000
commit195237f2e1b42c144cb27fde0a6773b20c8cd01a (patch)
tree66bb1768241122933d135e5efeb84047443011da /util/flashrom/udelay.c
parent1a9c892d58c746aef0cb530481c214e63a6a6871 (diff)
downloadcoreboot-195237f2e1b42c144cb27fde0a6773b20c8cd01a.tar.xz
Coding style fixes (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/udelay.c')
-rw-r--r--util/flashrom/udelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom/udelay.c b/util/flashrom/udelay.c
index e2fd31067b..91c3c6dad5 100644
--- a/util/flashrom/udelay.c
+++ b/util/flashrom/udelay.c
@@ -8,7 +8,7 @@ unsigned long micro = 1;
void myusec_delay(int time)
{
volatile unsigned long i;
- for (i = 0; i < time * micro; i++);
+ for (i = 0; i < time * micro; i++) ;
}
void myusec_calibrate_delay()
@@ -34,5 +34,5 @@ void myusec_calibrate_delay()
// compute one microsecond. That will be count / time
micro = count / timeusec;
- printf_debug("%ldM loops per second\n", (unsigned long) micro);
+ printf_debug("%ldM loops per second\n", (unsigned long)micro);
}