diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-30 08:27:37 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-30 08:27:37 -0500 |
commit | 4daeaf68379f75dedd120582add5206c7c5ad72e (patch) | |
tree | 14f6d18fa3070e44dae62b1fc9d2688906e14ab4 /drivers/acpi/internal.h | |
parent | 00c43b9682507dc622c03172fde1032e2a216e9d (diff) |
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/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 8310ba010176..e5a65217e480 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -26,6 +26,7 @@ | |||
26 | int init_acpi_device_notify(void); | 26 | int init_acpi_device_notify(void); |
27 | int acpi_scan_init(void); | 27 | int acpi_scan_init(void); |
28 | void acpi_pci_root_init(void); | 28 | void acpi_pci_root_init(void); |
29 | void acpi_pci_link_init(void); | ||
29 | int acpi_sysfs_init(void); | 30 | int acpi_sysfs_init(void); |
30 | void acpi_csrt_init(void); | 31 | void acpi_csrt_init(void); |
31 | 32 | ||