[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230810141947.1236730-11-arnd@kernel.org>
Date: Thu, 10 Aug 2023 16:19:28 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Arnd Bergmann <arnd@...db.de>, linux-m68k@...ts.linux-m68k.org
Subject: [PATCH 10/17] zorro: include zorro.h in names.c
From: Arnd Bergmann <arnd@...db.de>
The zorro_name_device() function is defined in drivers/zorror/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@...db.de>
---
drivers/zorro/names.c | 1 +
1 file changed, 1 insertion(+)
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 <linux/types.h>
#include <linux/zorro.h>
+#include "zorro.h"
struct zorro_prod_info {
__u16 prod;
--
2.39.2
Powered by blists - more mailing lists