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
e0ac612e
Commit
e0ac612e
authored
Aug 30, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: Kill ebus_bus_type.
No longer used. Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
356d1647
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
22 deletions
+0
-22
arch/sparc/include/asm/of_platform.h
arch/sparc/include/asm/of_platform.h
+0
-2
arch/sparc/kernel/of_device.c
arch/sparc/kernel/of_device.c
+0
-10
arch/sparc64/kernel/of_device.c
arch/sparc64/kernel/of_device.c
+0
-10
No files found.
arch/sparc/include/asm/of_platform.h
View file @
e0ac612e
...
@@ -13,8 +13,6 @@
...
@@ -13,8 +13,6 @@
*
*
*/
*/
extern
struct
bus_type
ebus_bus_type
;
#define of_bus_type of_platform_bus_type
/* for compatibility */
#define of_bus_type of_platform_bus_type
/* for compatibility */
#endif
#endif
arch/sparc/kernel/of_device.c
View file @
e0ac612e
...
@@ -62,11 +62,6 @@ void of_propagate_archdata(struct of_device *bus)
...
@@ -62,11 +62,6 @@ void of_propagate_archdata(struct of_device *bus)
}
}
}
}
#ifdef CONFIG_PCI
struct
bus_type
ebus_bus_type
;
EXPORT_SYMBOL
(
ebus_bus_type
);
#endif
struct
bus_type
of_platform_bus_type
;
struct
bus_type
of_platform_bus_type
;
EXPORT_SYMBOL
(
of_platform_bus_type
);
EXPORT_SYMBOL
(
of_platform_bus_type
);
...
@@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void)
...
@@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void)
int
err
;
int
err
;
err
=
of_bus_type_init
(
&
of_platform_bus_type
,
"of"
);
err
=
of_bus_type_init
(
&
of_platform_bus_type
,
"of"
);
#ifdef CONFIG_PCI
if
(
!
err
)
err
=
of_bus_type_init
(
&
ebus_bus_type
,
"ebus"
);
#endif
if
(
!
err
)
if
(
!
err
)
scan_of_devices
();
scan_of_devices
();
...
...
arch/sparc64/kernel/of_device.c
View file @
e0ac612e
...
@@ -88,11 +88,6 @@ void of_propagate_archdata(struct of_device *bus)
...
@@ -88,11 +88,6 @@ void of_propagate_archdata(struct of_device *bus)
}
}
}
}
#ifdef CONFIG_PCI
struct
bus_type
ebus_bus_type
;
EXPORT_SYMBOL
(
ebus_bus_type
);
#endif
struct
bus_type
of_platform_bus_type
;
struct
bus_type
of_platform_bus_type
;
EXPORT_SYMBOL
(
of_platform_bus_type
);
EXPORT_SYMBOL
(
of_platform_bus_type
);
...
@@ -865,11 +860,6 @@ static int __init of_bus_driver_init(void)
...
@@ -865,11 +860,6 @@ static int __init of_bus_driver_init(void)
int
err
;
int
err
;
err
=
of_bus_type_init
(
&
of_platform_bus_type
,
"of"
);
err
=
of_bus_type_init
(
&
of_platform_bus_type
,
"of"
);
#ifdef CONFIG_PCI
if
(
!
err
)
err
=
of_bus_type_init
(
&
ebus_bus_type
,
"ebus"
);
#endif
if
(
!
err
)
if
(
!
err
)
scan_of_devices
();
scan_of_devices
();
...
...
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