ACPI: Remove acpi_pci_slot_init() headers from internal.h
diff mbox series

Message ID 12717501.dP4JbZxpHK@vostro.rjw.lan
State New, archived
Headers show
  • ACPI: Remove acpi_pci_slot_init() headers from internal.h
Related show

Commit Message

Rafael J. Wysocki Nov. 7, 2013, 12:34 a.m. UTC
From: Rafael J. Wysocki <>

Since acpi_pci_slot_init() is now called from acpi_pci_init()
and pci-acpi.h contains its header, remove that header (and the
empty definition of that function for CONFIG_ACPI_PCI_SLOT unset)
from internal.h as it doesn't have to be there any more.  That also
avoids a build warning about duplicate function definitions for

Signed-off-by: Rafael J. Wysocki <>
 drivers/acpi/internal.h |    5 -----
 1 file changed, 5 deletions(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

diff mbox series

Index: linux-pm/drivers/acpi/internal.h
--- linux-pm.orig/drivers/acpi/internal.h
+++ linux-pm/drivers/acpi/internal.h
@@ -26,11 +26,6 @@ 
 acpi_status acpi_os_initialize1(void);
 int init_acpi_device_notify(void);
 int acpi_scan_init(void);
-void acpi_pci_slot_init(void);
-static inline void acpi_pci_slot_init(void) { }
 void acpi_pci_root_init(void);
 void acpi_pci_link_init(void);
 void acpi_pci_root_hp_init(void);