summaryrefslogtreecommitdiff
path: root/drivers/acpi/ioapic.c
diff options
context:
space:
mode:
authorAmmar Faizi <ammarfaizi2@gnuweeb.org>2022-12-23 21:24:18 +0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-30 19:12:30 +0100
commit446c85af665cf6d911c4821ac9507c8ba0cc7e75 (patch)
tree8e08d12b40557c634c6c70975ce306f07a991fa9 /drivers/acpi/ioapic.c
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
ACPI: Silence missing prototype warnings
Compiling with clang-16: drivers/acpi/acpi_lpit.c:142:6: error: no previous prototype \ for function 'acpi_init_lpit' [-Werror,-Wmissing-prototypes] drivers/acpi/ioapic.c:212:6: error: no previous prototype \ for function 'pci_ioapic_remove' [-Werror,-Wmissing-prototypes] drivers/acpi/ioapic.c:229:5: error: no previous prototype \ for function 'acpi_ioapic_remove' [-Werror,-Wmissing-prototypes] Include "internal.h" to silence them. Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ioapic.c')
-rw-r--r--drivers/acpi/ioapic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/ioapic.c b/drivers/acpi/ioapic.c
index a690c7b18623..6677955b4a8e 100644
--- a/drivers/acpi/ioapic.c
+++ b/drivers/acpi/ioapic.c
@@ -24,6 +24,7 @@
#include <linux/acpi.h>
#include <linux/pci.h>
#include <acpi/acpi.h>
+#include "internal.h"
struct acpi_pci_ioapic {
acpi_handle root_handle;