git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
pci
/
hotplug
/
rpaphp_vio.c
diff --git
a/drivers/pci/hotplug/rpaphp_vio.c
b/drivers/pci/hotplug/rpaphp_vio.c
index
d82b664
..
561c87c
100644
(file)
--- a/
drivers/pci/hotplug/rpaphp_vio.c
+++ b/
drivers/pci/hotplug/rpaphp_vio.c
@@
-74,8
+74,8
@@
int register_vio_slot(struct device_node *dn)
int rc = 1;
struct slot *slot = NULL;
-
name = rpaphp_get_drc_name(dn
);
- if (
!name
)
+
rc = rpaphp_get_drc_props(dn, NULL, &name, NULL, NULL
);
+ if (
rc
)
goto exit_rc;
index = (u32 *) get_property(dn, "ibm,my-drc-index", NULL);
if (!index)