diff options
Diffstat (limited to 'drivers/pci/proc.c')
| -rw-r--r-- | drivers/pci/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c index 9cb6dd0834be..92a885760832 100644 --- a/drivers/pci/proc.c +++ b/drivers/pci/proc.c | |||
| @@ -431,6 +431,7 @@ int pci_proc_detach_device(struct pci_dev *dev) | |||
| 431 | return 0; | 431 | return 0; |
| 432 | } | 432 | } |
| 433 | 433 | ||
| 434 | #if 0 | ||
| 434 | int pci_proc_attach_bus(struct pci_bus* bus) | 435 | int pci_proc_attach_bus(struct pci_bus* bus) |
| 435 | { | 436 | { |
| 436 | struct proc_dir_entry *de = bus->procdir; | 437 | struct proc_dir_entry *de = bus->procdir; |
| @@ -447,6 +448,7 @@ int pci_proc_attach_bus(struct pci_bus* bus) | |||
| 447 | } | 448 | } |
| 448 | return 0; | 449 | return 0; |
| 449 | } | 450 | } |
| 451 | #endif /* 0 */ | ||
| 450 | 452 | ||
| 451 | int pci_proc_detach_bus(struct pci_bus* bus) | 453 | int pci_proc_detach_bus(struct pci_bus* bus) |
| 452 | { | 454 | { |
| @@ -612,7 +614,6 @@ __initcall(pci_proc_init); | |||
| 612 | 614 | ||
| 613 | #ifdef CONFIG_HOTPLUG | 615 | #ifdef CONFIG_HOTPLUG |
| 614 | EXPORT_SYMBOL(pci_proc_attach_device); | 616 | EXPORT_SYMBOL(pci_proc_attach_device); |
| 615 | EXPORT_SYMBOL(pci_proc_attach_bus); | ||
| 616 | EXPORT_SYMBOL(pci_proc_detach_bus); | 617 | EXPORT_SYMBOL(pci_proc_detach_bus); |
| 617 | #endif | 618 | #endif |
| 618 | 619 | ||
