summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2013-12-17 14:58:31 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-06 00:13:22 +0100
commitc071b6040c442de247a537c977ea13f97b6df6f8 (patch)
treef579ed8e187f49124c45e2ac1179a3c973cc86f4 /drivers
parente22e58a473296f8f4d0ff9ff6743ef05d2c2aaa4 (diff)
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')
-rw-r--r--drivers/acpi/pci_link.c2
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