diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-17 10:28:31 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-06 00:13:22 +0100 |
commit | c071b6040c442de247a537c977ea13f97b6df6f8 (patch) | |
tree | f579ed8e187f49124c45e2ac1179a3c973cc86f4 /drivers/acpi/pci_link.c | |
parent | ACPI / PCI: Include appropriate header file in pci_slot.c (diff) | |
download | linux-c071b6040c442de247a537c977ea13f97b6df6f8.tar.xz linux-c071b6040c442de247a537c977ea13f97b6df6f8.zip |
ACPI / PCI: Include appropriate header file in pci_link.c
Includes appropriate header file internal.h in pci_link.c
because function acpi_pci_link_init() has its prototype declaration in
internal.h.
This eliminates the following warning in pci_link.c:
drivers/acpi/pci_link.c:874:13: warning: no previous prototype for ‘acpi_pci_link_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')
-rw-r--r-- | drivers/acpi/pci_link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c index ea6b8d16dcc8..9418c7a1f786 100644 --- a/drivers/acpi/pci_link.c +++ b/drivers/acpi/pci_link.c @@ -41,6 +41,8 @@ #include <linux/slab.h> #include <linux/acpi.h> +#include "internal.h" + #define PREFIX "ACPI: " #define _COMPONENT ACPI_PCI_COMPONENT |