diff options
author | Paul Mackerras <paulus@samba.org> | 2008-01-27 11:45:30 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-27 15:01:39 -0800 |
commit | c847c853a5c562bac940c544748525d038167275 (patch) | |
tree | bbc65bd22e26058096cc781efbbfbc80c43f0f76 /include/asm-x86/setup.h | |
parent | 1f9ffc049d7a88c8489b883b6fc0a25185062002 (diff) | |
download | blackbird-op-linux-c847c853a5c562bac940c544748525d038167275.tar.gz blackbird-op-linux-c847c853a5c562bac940c544748525d038167275.zip |
PPC: Fix powerpc vio_find_name to not use devices_subsys
This fixes vio_find_name() in arch/powerpc/kernel/vio.c, which is
currently broken because it tries to use devices_subsys. That is bad
for two reasons: (1) it's doing (or trying to do) a scan of all
devices when it should only be scanning those on the vio bus, and
(2) devices_subsys was an internal symbol of the device system code
which was never meant for external use and has now gone away, and
thus the kernel fails to compile on pSeries.
The new version uses bus_find_device_by_name() on the vio bus
(vio_bus_type).
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-x86/setup.h')
0 files changed, 0 insertions, 0 deletions