[coreboot-gerrit] New patch to review for coreboot: ca09b26 include/pc80/mc146818rtc.h: Move include to top of file

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Sat Jun 21 15:04:01 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6092

-gerrit

commit ca09b26cc4287d2044497d9b65c67d1a5391aec3
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Sat Jun 21 23:02:46 2014 +1000

    include/pc80/mc146818rtc.h: Move include to top of file
    
    Change-Id: I7640186702abac6fe116e3c750be08c958bc6cad
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/include/pc80/mc146818rtc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index cf4a951..46dbd73 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -1,6 +1,7 @@
 #ifndef PC80_MC146818RTC_H
 #define PC80_MC146818RTC_H
 
+#include <arch/io.h>
 #include <types.h>
 
 #ifndef RTC_BASE_PORT
@@ -100,7 +101,6 @@
 #define PC_CKS_LOC		46
 
 #ifndef UTIL_BUILD_OPTION_TABLE
-#include <arch/io.h>
 static inline unsigned char cmos_read(unsigned char addr)
 {
 	int offs = 0;



More information about the coreboot-gerrit mailing list