Commit 7bb2cb3e authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Jesse Barnes

PCI: update fakephp for bus_id removal

Get rid of a new use of bus_id that snuck in.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 7ae0567f
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/sysfs.h> #include <linux/sysfs.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/device.h>
#include "../pci.h" #include "../pci.h"
struct legacy_slot { struct legacy_slot {
...@@ -88,7 +89,7 @@ static int legacy_add_slot(struct pci_dev *pdev) ...@@ -88,7 +89,7 @@ static int legacy_add_slot(struct pci_dev *pdev)
if (kobject_init_and_add(&slot->kobj, &legacy_ktype, if (kobject_init_and_add(&slot->kobj, &legacy_ktype,
&pci_slots_kset->kobj, "%s", &pci_slots_kset->kobj, "%s",
pdev->dev.bus_id)) { dev_name(&pdev->dev))) {
dev_warn(&pdev->dev, "Failed to created legacy fake slot\n"); dev_warn(&pdev->dev, "Failed to created legacy fake slot\n");
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment