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
69853918
Commit
69853918
authored
Jun 25, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Export x_bus_type to modules.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
95b0ce9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
arch/sparc/kernel/of_device.c
arch/sparc/kernel/of_device.c
+2
-0
arch/sparc64/kernel/of_device.c
arch/sparc64/kernel/of_device.c
+3
-0
No files found.
arch/sparc/kernel/of_device.c
View file @
69853918
...
@@ -138,6 +138,7 @@ struct bus_type ebus_bus_type = {
...
@@ -138,6 +138,7 @@ struct bus_type ebus_bus_type = {
.
suspend
=
of_device_suspend
,
.
suspend
=
of_device_suspend
,
.
resume
=
of_device_resume
,
.
resume
=
of_device_resume
,
};
};
EXPORT_SYMBOL
(
ebus_bus_type
);
#endif
#endif
#ifdef CONFIG_SBUS
#ifdef CONFIG_SBUS
...
@@ -149,6 +150,7 @@ struct bus_type sbus_bus_type = {
...
@@ -149,6 +150,7 @@ struct bus_type sbus_bus_type = {
.
suspend
=
of_device_suspend
,
.
suspend
=
of_device_suspend
,
.
resume
=
of_device_resume
,
.
resume
=
of_device_resume
,
};
};
EXPORT_SYMBOL
(
sbus_bus_type
);
#endif
#endif
static
int
__init
of_bus_driver_init
(
void
)
static
int
__init
of_bus_driver_init
(
void
)
...
...
arch/sparc64/kernel/of_device.c
View file @
69853918
...
@@ -138,6 +138,7 @@ struct bus_type isa_bus_type = {
...
@@ -138,6 +138,7 @@ struct bus_type isa_bus_type = {
.
suspend
=
of_device_suspend
,
.
suspend
=
of_device_suspend
,
.
resume
=
of_device_resume
,
.
resume
=
of_device_resume
,
};
};
EXPORT_SYMBOL
(
isa_bus_type
);
struct
bus_type
ebus_bus_type
=
{
struct
bus_type
ebus_bus_type
=
{
.
name
=
"ebus"
,
.
name
=
"ebus"
,
...
@@ -147,6 +148,7 @@ struct bus_type ebus_bus_type = {
...
@@ -147,6 +148,7 @@ struct bus_type ebus_bus_type = {
.
suspend
=
of_device_suspend
,
.
suspend
=
of_device_suspend
,
.
resume
=
of_device_resume
,
.
resume
=
of_device_resume
,
};
};
EXPORT_SYMBOL
(
ebus_bus_type
);
#endif
#endif
#ifdef CONFIG_SBUS
#ifdef CONFIG_SBUS
...
@@ -158,6 +160,7 @@ struct bus_type sbus_bus_type = {
...
@@ -158,6 +160,7 @@ struct bus_type sbus_bus_type = {
.
suspend
=
of_device_suspend
,
.
suspend
=
of_device_suspend
,
.
resume
=
of_device_resume
,
.
resume
=
of_device_resume
,
};
};
EXPORT_SYMBOL
(
sbus_bus_type
);
#endif
#endif
static
int
__init
of_bus_driver_init
(
void
)
static
int
__init
of_bus_driver_init
(
void
)
...
...
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