diff options
author | Ilkka Koskinen <[email protected]> | 2022-04-25 15:18:02 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-05-06 20:35:44 +0200 |
commit | 988d7a14408db4183202f16bb02b8149b9da3727 (patch) | |
tree | b393f8a4bf54213f04dcb031c3bd33d83ed4e032 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | db2d1693fae37e01e7fcfd627b407c18737e8373 (diff) |
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: a2a591fb76e6 ("ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Ilkka Koskinen <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions