Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
16212017
Commit
16212017
authored
Nov 17, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] IP32: No need to include <asm/io.h>.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
cd017fbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
include/asm-mips/mach-ip32/mc146818rtc.h
include/asm-mips/mach-ip32/mc146818rtc.h
+4
-3
No files found.
include/asm-mips/mach-ip32/mc146818rtc.h
View file @
16212017
...
@@ -11,7 +11,6 @@
...
@@ -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)
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment