Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
16212017
Commit
16212017
authored
19 years ago
by
Ralf Baechle
Browse files
Options
Downloads
Patches
Plain Diff
[MIPS] IP32: No need to include <asm/io.h>.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
cd017fbd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/asm-mips/mach-ip32/mc146818rtc.h
+4
-3
4 additions, 3 deletions
include/asm-mips/mach-ip32/mc146818rtc.h
with
4 additions
and
3 deletions
include/asm-mips/mach-ip32/mc146818rtc.h
+
4
−
3
View file @
16212017
...
...
@@ -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))
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment