summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-21 23:02:46 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-25 11:36:47 +0200
commit502c3db939b8c3904008b85945520c7b0d044098 (patch)
tree7c8c5569da975441a848edc3c0b943f4e71c9baa
parent8d77402d3fa66cf0f927cd83f26fcf28866cd040 (diff)
include/pc80/mc146818rtc.h: Move include to top of file
Change-Id: I7640186702abac6fe116e3c750be08c958bc6cad Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6092 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <gaumless@gmail.com>
-rw-r--r--src/include/pc80/mc146818rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index cf4a9514c9..46dbd736db 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;