From: Arnd Bergmann Date: Thu, 10 Aug 2023 14:19:28 +0000 (+0200) Subject: zorro: Include zorro.h in names.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eb1e6ccdcf785e633863c5c7cec32d6c1e7b09dd;p=linux.git 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 Reviewed-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20230810141947.1236730-11-arnd@kernel.org Signed-off-by: Geert Uytterhoeven --- diff --git a/drivers/zorro/names.c b/drivers/zorro/names.c index fa3c83dbe8431..077114ccc8407 100644 --- a/drivers/zorro/names.c +++ b/drivers/zorro/names.c @@ -15,6 +15,7 @@ #include #include +#include "zorro.h" struct zorro_prod_info { __u16 prod;