aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/internal.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-30 08:27:33 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-30 08:27:33 -0500
commit00c43b9682507dc622c03172fde1032e2a216e9d (patch)
treec863a94c5370d734532c7161f72f8ced4cd4498d /drivers/acpi/internal.h
parentca589f9469641916f4f9bd6a820012a27102ef63 (diff)
ACPI / PCI: Make PCI root driver use struct acpi_scan_handler
Make the ACPI PCI root bridge driver use struct acpi_scan_handler for representing the object used to enumerate the PCI busses under PCI host bridges found in the ACPI namespace (and to tear down data structures representing the bus and devices on it before unregistering the host bridges' 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h
index da233477d260..8310ba010176 100644
--- a/drivers/acpi/internal.h
+++ b/drivers/acpi/internal.h
@@ -25,6 +25,7 @@
25 25
26int init_acpi_device_notify(void); 26int init_acpi_device_notify(void);
27int acpi_scan_init(void); 27int acpi_scan_init(void);
28void acpi_pci_root_init(void);
28int acpi_sysfs_init(void); 29int acpi_sysfs_init(void);
29void acpi_csrt_init(void); 30void acpi_csrt_init(void);
30 31
@@ -86,7 +87,6 @@ struct acpi_ec {
86 87
87extern struct acpi_ec *first_ec; 88extern struct acpi_ec *first_ec;
88 89
89int acpi_pci_root_init(void);
90int acpi_ec_init(void); 90int acpi_ec_init(void);
91int acpi_ec_ecdt_probe(void); 91int acpi_ec_ecdt_probe(void);
92int acpi_boot_ec_enable(void); 92int acpi_boot_ec_enable(void);