From 3787d5b36abb6735046a16e2195fb4057dacb07c Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 11 Feb 2014 17:13:27 -0800 Subject: [PATCH] qemu-armv7: Trivial style fixes Minor style fixes to avoid future bikeshedding. - Opening brace for functions go on their own lines. - use fixed-length types where appropriate. BUG=none BRANCH=none TEST=it compiles Signed-off-by: David Hendricks Original-Change-Id: If9855d32c8ed1f5977937806c8c4cce65dd7d450 Original-Reviewed-on: https://chromium-review.googlesource.com/196955 Original-Reviewed-by: David Hendricks Original-Commit-Queue: David Hendricks Original-Tested-by: David Hendricks Original-Reviewed-by: Hung-Te Lin (cherry picked from commit e2bfeed18636af6b532e2e8f118de22a658fe41b) Signed-off-by: Marc Jones Conflicts: src/mainboard/emulation/qemu-armv7/uart.c Change-Id: I8e09db53534802262168e65ec4cd47b96386490a Reviewed-on: http://review.coreboot.org/7867 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- src/mainboard/emulation/qemu-armv7/timer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mainboard/emulation/qemu-armv7/timer.c b/src/mainboard/emulation/qemu-armv7/timer.c index 53c378940d..b479d428f9 100644 --- a/src/mainboard/emulation/qemu-armv7/timer.c +++ b/src/mainboard/emulation/qemu-armv7/timer.c @@ -14,11 +14,13 @@ */ void udelay(unsigned int n); -void udelay(unsigned int n) { +void udelay(unsigned int n) +{ /* TODO provide delay here. */ } int init_timer(void); -int init_timer(void) { +int init_timer(void) +{ return 0; }