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 .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
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: Move zorro_bus_type to bus-private header file 2020-03-09 11:12:19 +01:00
zorro.ids