瀏覽代碼

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>
Rashika 11 年之前
父節點
當前提交
c071b6040c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/acpi/pci_link.c

+ 2 - 0
drivers/acpi/pci_link.c

@@ -41,6 +41,8 @@
 #include <linux/slab.h>
 #include <linux/slab.h>
 #include <linux/acpi.h>
 #include <linux/acpi.h>
 
 
+#include "internal.h"
+
 #define PREFIX "ACPI: "
 #define PREFIX "ACPI: "
 
 
 #define _COMPONENT			ACPI_PCI_COMPONENT
 #define _COMPONENT			ACPI_PCI_COMPONENT