Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14326
b: refs/heads/master
c: 1621201
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Nov 17, 2005
1 parent f0f6481 commit 0e038cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd017fbdd33f2d8294b0e0324faa1dc7750b4af0
refs/heads/master: 16212017a54afdb702ecc796aaa0448b795de03b
7 changes: 4 additions & 3 deletions trunk/include/asm-mips/mach-ip32/mc146818rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#ifndef __ASM_MACH_IP32_MC146818RTC_H
#define __ASM_MACH_IP32_MC146818RTC_H

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

#define RTC_PORT(x) (0x70 + (x))
Expand All @@ -26,8 +25,10 @@ static inline void CMOS_WRITE(unsigned char data, unsigned long addr)
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 RTC_ALWAYS_BCD 0
Expand Down

0 comments on commit 0e038cd

Please sign in to comment.