Commit eb1e6ccd authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Geert Uytterhoeven

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: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230810141947.1236730-11-arnd@kernel.orgSigned-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 1a48e2cc
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/zorro.h> #include <linux/zorro.h>
#include "zorro.h"
struct zorro_prod_info { struct zorro_prod_info {
__u16 prod; __u16 prod;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment