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:
committed by
Patrick Georgi
parent
8d77402d3f
commit
502c3db939
@@ -1,6 +1,7 @@
|
|||||||
#ifndef PC80_MC146818RTC_H
|
#ifndef PC80_MC146818RTC_H
|
||||||
#define PC80_MC146818RTC_H
|
#define PC80_MC146818RTC_H
|
||||||
|
|
||||||
|
#include <arch/io.h>
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
||||||
#ifndef RTC_BASE_PORT
|
#ifndef RTC_BASE_PORT
|
||||||
@@ -100,7 +101,6 @@
|
|||||||
#define PC_CKS_LOC 46
|
#define PC_CKS_LOC 46
|
||||||
|
|
||||||
#ifndef UTIL_BUILD_OPTION_TABLE
|
#ifndef UTIL_BUILD_OPTION_TABLE
|
||||||
#include <arch/io.h>
|
|
||||||
static inline unsigned char cmos_read(unsigned char addr)
|
static inline unsigned char cmos_read(unsigned char addr)
|
||||||
{
|
{
|
||||||
int offs = 0;
|
int offs = 0;
|
||||||
|
Reference in New Issue
Block a user