diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-17 10:18:19 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-06 00:13:22 +0100 |
commit | e22e58a473296f8f4d0ff9ff6743ef05d2c2aaa4 (patch) | |
tree | 888a3b0ec6c4df44385ba401230c9cec3b538a06 /drivers/acpi/pci_link.c | |
parent | ACPI / EC: Mark the function acpi_ec_add_debugfs() as static in ec_sys.c (diff) | |
download | linux-e22e58a473296f8f4d0ff9ff6743ef05d2c2aaa4.tar.xz linux-e22e58a473296f8f4d0ff9ff6743ef05d2c2aaa4.zip |
ACPI / PCI: Include appropriate header file in pci_slot.c
Includes appropriate header file linux/pci-acpi.h in pci_slot.c
because functions acpi_pci_slot_enumerate(), acpi_pci_slot_remove()
and acpi_pci_slot_init() have their prototype declaratons in
linux/pci-acpi.h.
This eliminates the following warnings in pci_slot.c:
drivers/acpi/pci_slot.c:162:6: warning: no previous prototype for ‘acpi_pci_slot_enumerate’ [-Wmissing-prototypes]
drivers/acpi/pci_slot.c:174:6: warning: no previous prototype for ‘acpi_pci_slot_remove’ [-Wmissing-prototypes]
drivers/acpi/pci_slot.c:215:13: warning: no previous prototype for ‘acpi_pci_slot_init’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/pci_link.c')
0 files changed, 0 insertions, 0 deletions