summaryrefslogtreecommitdiff
path: root/drivers/zorro
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-08-10 17:19:28 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-08-21 14:27:44 +0300
commiteb1e6ccdcf785e633863c5c7cec32d6c1e7b09dd (patch)
tree69c4041c82a1a7cc875c35b5965ba21238ec759e /drivers/zorro
parent1a48e2ccd4385caa9ad9659ac8f9d75affacc9da (diff)
downloadlinux-eb1e6ccdcf785e633863c5c7cec32d6c1e7b09dd.tar.xz
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>
Diffstat (limited to 'drivers/zorro')
-rw-r--r--drivers/zorro/names.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/zorro/names.c b/drivers/zorro/names.c
index fa3c83dbe843..077114ccc840 100644
--- a/drivers/zorro/names.c
+++ b/drivers/zorro/names.c
@@ -15,6 +15,7 @@
#include <linux/types.h>
#include <linux/zorro.h>
+#include "zorro.h"
struct zorro_prod_info {
__u16 prod;