Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16212017 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] IP32: No need to include <asm/io.h>.

parent cd017fbd
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -11,7 +11,6 @@
#ifndef __ASM_MACH_IP32_MC146818RTC_H
#ifndef __ASM_MACH_IP32_MC146818RTC_H
#define __ASM_MACH_IP32_MC146818RTC_H
#define __ASM_MACH_IP32_MC146818RTC_H


#include <asm/io.h>
#include <asm/ip32/mace.h>
#include <asm/ip32/mace.h>


#define RTC_PORT(x)	(0x70 + (x))
#define RTC_PORT(x)	(0x70 + (x))
@@ -26,8 +25,10 @@ static inline void CMOS_WRITE(unsigned char data, unsigned long addr)
	mace->isa.rtc[addr << 8] = data;
	mace->isa.rtc[addr << 8] = data;
}
}


/* FIXME: Do it right. For now just assume that noone lives in 20th century
/*
 * and no O2 user in 22th century ;-) */
 * FIXME: Do it right. For now just assume that noone lives in 20th century
 * and no O2 user in 22th century ;-)
 */
#define mc146818_decode_year(year) ((year) + 2000)
#define mc146818_decode_year(year) ((year) + 2000)


#define RTC_ALWAYS_BCD	0
#define RTC_ALWAYS_BCD	0