• Ammar Faizi's avatar
    ACPI: Silence missing prototype warnings · 446c85af
    Ammar Faizi authored
    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: default avatarAmmar Faizi <ammarfaizi2@gnuweeb.org>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    446c85af
acpi_lpit.c 4.14 KB