diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 04:01:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:18 -0400 |
commit | 9c37066d888bf6e1b96ad12304971b3ddeabbad0 (patch) | |
tree | 87f39924be4d36b25918cf7a90eb0db7743cba99 /drivers/pci/proc.c | |
parent | 5e971dce0b2f6896e02372512df0d1fb0bfe2d55 (diff) |
proc: remove proc_bus
Remove proc_bus export and variable itself. Using pathnames works fine
and is slightly more understandable and greppable.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pci/proc.c')
-rw-r--r-- | drivers/pci/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c index ef18fcd641e2..7b5e45b2fd16 100644 --- a/drivers/pci/proc.c +++ b/drivers/pci/proc.c | |||
@@ -472,7 +472,7 @@ static int __init pci_proc_init(void) | |||
472 | { | 472 | { |
473 | struct proc_dir_entry *entry; | 473 | struct proc_dir_entry *entry; |
474 | struct pci_dev *dev = NULL; | 474 | struct pci_dev *dev = NULL; |
475 | proc_bus_pci_dir = proc_mkdir("pci", proc_bus); | 475 | proc_bus_pci_dir = proc_mkdir("bus/pci", NULL); |
476 | entry = create_proc_entry("devices", 0, proc_bus_pci_dir); | 476 | entry = create_proc_entry("devices", 0, proc_bus_pci_dir); |
477 | if (entry) | 477 | if (entry) |
478 | entry->proc_fops = &proc_bus_pci_dev_operations; | 478 | entry->proc_fops = &proc_bus_pci_dev_operations; |