Commit 13ce7788 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: fix minor problem in previous proc naming patch.

parent b7245e82
...@@ -389,7 +389,7 @@ int pci_proc_attach_device(struct pci_dev *dev) ...@@ -389,7 +389,7 @@ int pci_proc_attach_device(struct pci_dev *dev)
return -EACCES; return -EACCES;
if (!(de = bus->procdir)) { if (!(de = bus->procdir)) {
if (!pci_name_bus(name, bus)) if (pci_name_bus(name, bus))
return -EEXIST; return -EEXIST;
de = bus->procdir = proc_mkdir(name, proc_bus_pci_dir); de = bus->procdir = proc_mkdir(name, proc_bus_pci_dir);
if (!de) if (!de)
......
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