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
1f320d05
Commit
1f320d05
authored
Sep 15, 2009
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Malta: Convert reset initialization to initcall.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
7e17615c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
arch/mips/mti-malta/malta-reset.c
arch/mips/mti-malta/malta-reset.c
+6
-1
arch/mips/mti-malta/malta-setup.c
arch/mips/mti-malta/malta-setup.c
+0
-1
No files found.
arch/mips/mti-malta/malta-reset.c
View file @
1f320d05
...
...
@@ -22,6 +22,7 @@
* Reset the MIPS boards.
*
*/
#include <linux/init.h>
#include <linux/pm.h>
#include <asm/io.h>
...
...
@@ -45,9 +46,13 @@ static void mips_machine_halt(void)
}
void
mips_reboot_setup
(
void
)
static
int
__init
mips_reboot_setup
(
void
)
{
_machine_restart
=
mips_machine_restart
;
_machine_halt
=
mips_machine_halt
;
pm_power_off
=
mips_machine_halt
;
return
0
;
}
arch_initcall
(
mips_reboot_setup
);
arch/mips/mti-malta/malta-setup.c
View file @
1f320d05
...
...
@@ -218,7 +218,6 @@ void __init plat_mem_setup(void)
#if defined(CONFIG_VT) && defined(CONFIG_VGA_CONSOLE)
screen_info_setup
();
#endif
mips_reboot_setup
();
board_be_init
=
malta_be_init
;
board_be_handler
=
malta_be_handler
;
...
...
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