src/lib: Fix brace positions
Fix the following errors detected by checkpatch.pl:
ERROR: open brace '{' following function declarations go on the next
line
ERROR: that open brace { should be on the previous line
ERROR: open brace '{' following struct go on the same line
ERROR: else should follow close brace '}'
TEST=Build and run on Galileo Gen2
Change-Id: I971ada9ba9ba7ce5d8029323710fee1a6166570b
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18759
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
			
			
This commit is contained in:
		@@ -17,7 +17,8 @@
 | 
			
		||||
#include <arch/hlt.h>
 | 
			
		||||
#include <halt.h>
 | 
			
		||||
 | 
			
		||||
void halt(void) {
 | 
			
		||||
void halt(void)
 | 
			
		||||
{
 | 
			
		||||
	while (1)
 | 
			
		||||
		hlt();
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user