mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5e971dce0b
commit
9c37066d88
10 changed files with 14 additions and 17 deletions
|
|
@ -472,7 +472,7 @@ static int __init pci_proc_init(void)
|
|||
{
|
||||
struct proc_dir_entry *entry;
|
||||
struct pci_dev *dev = NULL;
|
||||
proc_bus_pci_dir = proc_mkdir("pci", proc_bus);
|
||||
proc_bus_pci_dir = proc_mkdir("bus/pci", NULL);
|
||||
entry = create_proc_entry("devices", 0, proc_bus_pci_dir);
|
||||
if (entry)
|
||||
entry->proc_fops = &proc_bus_pci_dev_operations;
|
||||
|
|
|
|||
Loading…
Reference in a new issue