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
89742e53
Commit
89742e53
authored
Oct 18, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Jazz: Retire use of plat_timer_setup.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
e887b245
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
arch/mips/jazz/irq.c
arch/mips/jazz/irq.c
+4
-2
arch/mips/jazz/setup.c
arch/mips/jazz/setup.c
+1
-7
No files found.
arch/mips/jazz/irq.c
View file @
89742e53
...
...
@@ -4,7 +4,7 @@
* for more details.
*
* Copyright (C) 1992 Linus Torvalds
* Copyright (C) 1994 - 2001, 2003 Ralf Baechle
* Copyright (C) 1994 - 2001, 2003
, 07
Ralf Baechle
*/
#include <linux/clockchips.h>
#include <linux/init.h>
...
...
@@ -13,6 +13,7 @@
#include <linux/spinlock.h>
#include <asm/irq_cpu.h>
#include <asm/i8253.h>
#include <asm/i8259.h>
#include <asm/io.h>
#include <asm/jazz.h>
...
...
@@ -136,7 +137,7 @@ static struct irqaction r4030_timer_irqaction = {
.
name
=
"timer"
,
};
void
__init
plat_time
r_setup
(
struct
irqaction
*
ignore
d
)
void
__init
plat_time
_init
(
voi
d
)
{
struct
irqaction
*
irq
=
&
r4030_timer_irqaction
;
...
...
@@ -152,4 +153,5 @@ void __init plat_timer_setup(struct irqaction *ignored)
setup_irq
(
JAZZ_TIMER_IRQ
,
irq
);
clockevents_register_device
(
&
r4030_clockevent
);
setup_pit_timer
();
}
arch/mips/jazz/setup.c
View file @
89742e53
...
...
@@ -5,7 +5,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1996, 1997, 1998, 2001 by Ralf Baechle
* Copyright (C) 1996, 1997, 1998, 2001
, 07
by Ralf Baechle
* Copyright (C) 2001 MIPS Technologies, Inc.
* Copyright (C) 2007 by Thomas Bogendoerfer
*/
...
...
@@ -25,7 +25,6 @@
#include <linux/serial_8250.h>
#include <asm/bootinfo.h>
#include <asm/i8253.h>
#include <asm/irq.h>
#include <asm/jazz.h>
#include <asm/jazzdma.h>
...
...
@@ -64,11 +63,6 @@ static struct resource jazz_io_resources[] = {
}
};
void
__init
plat_time_init
(
void
)
{
setup_pit_timer
();
}
void
__init
plat_mem_setup
(
void
)
{
int
i
;
...
...
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