OpenCloudOS-Kernel/drivers/acpi/arm64
Ilkka Koskinen 988d7a1440 ACPI: AGDI: Fix missing prototype warning for acpi_agdi_init()
When building with W=1, we get the following warning:

drivers/acpi/arm64/agdi.c:88:13: warning: no previous prototype for ‘acpi_agdi_init’ [-Wmissing-prototypes]
 void __init acpi_agdi_init(void)

Include AGDI driver's header file to pull in the prototype definition
for acpi_agdi_init() to get rid of the compiler warning

Fixes: a2a591fb76 ("ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-05-06 20:35:44 +02:00
..
Kconfig ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device 2022-03-10 20:17:28 +01:00
Makefile ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device 2022-03-10 20:17:28 +01:00
agdi.c ACPI: AGDI: Fix missing prototype warning for acpi_agdi_init() 2022-05-06 20:35:44 +02:00
dma.c ACPI: arm64: Move DMA setup operations out of IORT 2021-06-25 15:02:43 +02:00
gtdt.c acpi/arm64: fix next_platform_timer() section mismatch error 2021-10-12 17:41:19 +01:00
iort.c ACPI/IORT: Check node revision for PMCG resources 2022-02-09 18:16:22 +00:00