[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220217224648.113767-1-jrdr.linux@gmail.com>
Date: Fri, 18 Feb 2022 04:16:48 +0530
From: Souptick Joarder <jrdr.linux@...il.com>
To: linux@...linux.org.uk, arnd@...db.de, ardb@...nel.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
"Souptick Joarder (HPE)" <jrdr.linux@...il.com>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] ARM: iop32x: add prototype for iop_enable_cp6()
From: "Souptick Joarder (HPE)" <jrdr.linux@...il.com>
Kernel test robot throws warning ->
arch/arm/mach-iop32x/cp6.c:10:6: warning: no previous prototype
for function 'iop_enable_cp6' [-Wmissing-prototypes]
Adding prototype by including header.
Fixes: 6f5d248d05db ("ARM: iop32x: use GENERIC_IRQ_MULTI_HANDLER")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Souptick Joarder (HPE) <jrdr.linux@...il.com>
---
arch/arm/mach-iop32x/cp6.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-iop32x/cp6.c b/arch/arm/mach-iop32x/cp6.c
index 2882674a1c39..7135a0ac9949 100644
--- a/arch/arm/mach-iop32x/cp6.c
+++ b/arch/arm/mach-iop32x/cp6.c
@@ -7,6 +7,8 @@
#include <asm/traps.h>
#include <asm/ptrace.h>
+#include "iop3xx.h"
+
void iop_enable_cp6(void)
{
u32 temp;
--
2.25.1
Powered by blists - more mailing lists