OpenCloudOS-Kernel/drivers/zorro
Arnd Bergmann eb1e6ccdcf zorro: Include zorro.h in names.c
The zorro_name_device() function is defined in drivers/zorro/names.c,
but the declaration is not visible there:

    drivers/zorro/names.c:58:13: error: no previous prototype for 'zorro_name_device' [-Werror=missing-prototypes]
       58 | void __init zorro_name_device(struct zorro_dev *dev)

Include the header to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230810141947.1236730-11-arnd@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2023-08-21 13:27:44 +02:00
..
.gitignore
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
gen-devlist.c
names.c zorro: Include zorro.h in names.c 2023-08-21 13:27:44 +02:00
proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
zorro-driver.c driver core: make struct bus_type.uevent() take a const * 2023-01-27 13:45:52 +01:00
zorro-sysfs.c
zorro.c zorro: Fix address space collision message with RAM expansion boards 2020-08-26 13:26:52 +02:00
zorro.h
zorro.ids