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>
This commit is contained in:
parent
8d77402d3f
commit
502c3db939
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue