diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-30 14:27:37 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-30 14:27:37 +0100 |
commit | 4daeaf68379f75dedd120582add5206c7c5ad72e (patch) | |
tree | 14f6d18fa3070e44dae62b1fc9d2688906e14ab4 /drivers/acpi/scan.c | |
parent | ACPI / PCI: Make PCI root driver use struct acpi_scan_handler (diff) | |
download | linux-4daeaf68379f75dedd120582add5206c7c5ad72e.tar.xz linux-4daeaf68379f75dedd120582add5206c7c5ad72e.zip |
ACPI / PCI: Make PCI IRQ link driver use struct acpi_scan_handler
Make the ACPI PCI IRQ link driver use struct acpi_scan_handler
for representing the object used to set up ACPI interrupt links and
to remove data structures used for this purpose before unregistering
the corresponding ACPI device nodes.
This simplifies the code slightly and reduces the kernel's memory
footprint by avoiding the registration of a struct device_driver
object with the driver core and creation of its sysfs directory
which is unnecessary.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 1453cd0672fb..c2821699bc49 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1774,6 +1774,7 @@ int __init acpi_scan_init(void) } acpi_pci_root_init(); + acpi_pci_link_init(); acpi_csrt_init(); /* |