diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-08-29 17:37:28 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-08-30 06:57:17 (GMT) |
commit | 1d57896638f080165165dd9fb4cf848220dfd853 (patch) | |
tree | 679a611e0a39e865855a611f5c8d5d90c0122470 /arch/s390/pci/pci_event.c | |
parent | 77e844b9644026c11c5883144540155de39af767 (diff) | |
download | linux-1d57896638f080165165dd9fb4cf848220dfd853.tar.xz |
s390/pci: split lpf
List pci functions is used to query and iterate over pci functions.
This function currently has 2 users - initial device discovery and
rescan after a machine check. Instead of having a multipurpose
function pass a callback which gets called for each pci function.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/pci/pci_event.c')
-rw-r--r-- | arch/s390/pci/pci_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/pci/pci_event.c b/arch/s390/pci/pci_event.c index ec62e3a..0aecaf9 100644 --- a/arch/s390/pci/pci_event.c +++ b/arch/s390/pci/pci_event.c @@ -69,7 +69,7 @@ static void zpci_event_log_avail(struct zpci_ccdf_avail *ccdf) clp_add_pci_device(ccdf->fid, ccdf->fh, 0); break; case 0x0306: - clp_find_pci_devices(); + clp_rescan_pci_devices(); break; default: break; |