projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448432c
)
PCI: remove pci_get_device_reverse from calgary driver
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 13 Feb 2008 17:32:03 +0000
(09:32 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 21 Apr 2008 04:46:53 +0000
(21:46 -0700)
This isn't needed, we can just walk the devices in bus order with no
problems at all, as we really want to remove pci_get_device_reverse from
the kernel tree.
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/pci-calgary_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/pci-calgary_64.c
b/arch/x86/kernel/pci-calgary_64.c
index 1b5464c2434f2fbe115816a6603fc3434dd55b96..67a3feb90edbc4491a835815ec0a01069568f07b 100644
(file)
--- a/
arch/x86/kernel/pci-calgary_64.c
+++ b/
arch/x86/kernel/pci-calgary_64.c
@@
-1232,8
+1232,7
@@
static int __init calgary_init(void)
error:
do {
- dev = pci_get_device_reverse(PCI_VENDOR_ID_IBM,
- PCI_ANY_ID, dev);
+ dev = pci_get_device(PCI_VENDOR_ID_IBM, PCI_ANY_ID, dev);
if (!dev)
break;
if (!is_cal_pci_dev(dev->device))