diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-04-25 14:49:48 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-04-26 09:07:19 +0200 |
commit | 1c21351b722c9101bacdb961f5b5711669c882a0 (patch) | |
tree | 23410fcce9be17409aea162007f23f0ebee16a18 /include/linux/bsg.h | |
parent | fff60fabc71c41bd1bd4beb4fdd735bb8e01096c (diff) |
s390/pci: use pci_scan_root_bus
The pci config space accessors on s390 are (now) smart enough to
figure out if a pci function is available. So instead of calling
pci_create_root_bus and then pci_scan_single_device for each
available function just call pci_scan_root_bus and let the pci core
do the scanning (via config reads on all possible functions) and
device creation.
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/linux/bsg.h')
0 files changed, 0 insertions, 0 deletions