Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
1b26fe86
Commit
1b26fe86
authored
Oct 19, 2009
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omap: Use ioremap in irq.c
Use ioremap in irq.c Signed-off-by:
Tony Lindgren
<
tony@atomide.com
>
parent
84f90c9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
arch/arm/mach-omap2/irq.c
arch/arm/mach-omap2/irq.c
+10
-2
No files found.
arch/arm/mach-omap2/irq.c
View file @
1b26fe86
...
...
@@ -178,12 +178,20 @@ void __init omap_init_irq(void)
int
i
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
irq_banks
);
i
++
)
{
unsigned
long
base
;
struct
omap_irq_bank
*
bank
=
irq_banks
+
i
;
if
(
cpu_is_omap24xx
())
ba
nk
->
base_reg
=
OMAP2_IO_ADDRESS
(
OMAP24XX_IC_BASE
)
;
ba
se
=
OMAP24XX_IC_BASE
;
else
if
(
cpu_is_omap34xx
())
bank
->
base_reg
=
OMAP2_IO_ADDRESS
(
OMAP34XX_IC_BASE
);
base
=
OMAP34XX_IC_BASE
;
/* Static mapping, never released */
bank
->
base_reg
=
ioremap
(
base
,
SZ_4K
);
if
(
!
bank
->
base_reg
)
{
printk
(
KERN_ERR
"Could not ioremap irq bank%i
\n
"
,
i
);
continue
;
}
omap_irq_bank_init_one
(
bank
);
...
...
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