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
nexedi
linux
Commits
77b41597
Commit
77b41597
authored
Jan 28, 2008
by
Kumar Gala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[POWERPC] 85xx: convert sbc85* boards to use machine_device_initcall
Signed-off-by:
Kumar Gala
<
galak@kernel.crashing.org
>
parent
b38308ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
arch/powerpc/platforms/85xx/sbc8548.c
arch/powerpc/platforms/85xx/sbc8548.c
+2
-4
arch/powerpc/platforms/85xx/sbc8560.c
arch/powerpc/platforms/85xx/sbc8560.c
+2
-4
No files found.
arch/powerpc/platforms/85xx/sbc8548.c
View file @
77b41597
...
...
@@ -135,13 +135,11 @@ static struct of_device_id __initdata of_bus_ids[] = {
static
int
__init
declare_of_platform_devices
(
void
)
{
if
(
!
machine_is
(
sbc8548
))
return
0
;
of_platform_bus_probe
(
NULL
,
of_bus_ids
,
NULL
);
return
0
;
}
device_initcall
(
declare_of_platform_devices
);
machine_device_initcall
(
sbc8548
,
declare_of_platform_devices
);
/*
* Called very early, device-tree isn't unflattened
...
...
arch/powerpc/platforms/85xx/sbc8560.c
View file @
77b41597
...
...
@@ -222,13 +222,11 @@ static struct of_device_id __initdata of_bus_ids[] = {
static
int
__init
declare_of_platform_devices
(
void
)
{
if
(
!
machine_is
(
sbc8560
))
return
0
;
of_platform_bus_probe
(
NULL
,
of_bus_ids
,
NULL
);
return
0
;
}
device_initcall
(
declare_of_platform_devices
);
machine_device_initcall
(
sbc8560
,
declare_of_platform_devices
);
/*
* Called very early, device-tree isn't unflattened
...
...
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