ARM: SoC: address -Wmissing-prototype warnings
Subsystems (20)
cover ARM: SoC: address -Wmissing-prototype warnings
From: Arnd Bergmann <[email protected]>
This is part of a longer series of patches to address all -Wmissing-prototype warnings. I would like to take these through the soc tree directly, but if anyone wants to first apply a patch to their platform specific tree, I'll drop that one. See the Link below for more background.
Arnd
Arnd Bergmann (13):
ARM: davinci: fix davinci_cpufreq_init() declaration
ARM: ep93xx: fix missing-prototype warnings
ARM: highbank: add missing include
ARM: imx: add missing include
ARM: imx: remove unused mx25_revision()
ARM: lpc32xx: add missing include
ARM: omap1: add missing include
ARM: omap2: fix missing tick_broadcast() prototype
ARM: orion5x: fix d2net gpio initialization
ARM: pxa: fix missing-prototypes warnings
ARM: sa1100: address missing prototype warnings
ARM: spear: include "pl080.h" for pl080_get_signal() prototype
ARM: versatile: mark mmc_status() static
arch/arm/common/sa1111.c | 2 +- arch/arm/mach-davinci/common.c | 1 + arch/arm/mach-davinci/common.h | 6 --- arch/arm/mach-ep93xx/timer-ep93xx.c | 3 +- arch/arm/mach-highbank/pm.c | 2 + arch/arm/mach-imx/Makefile | 2 +- arch/arm/mach-imx/cpu-imx25.c | 50 ------------------- arch/arm/mach-imx/pm-imx25.c | 1 + arch/arm/mach-lpc32xx/serial.c | 1 + arch/arm/mach-omap1/serial.c | 1 + arch/arm/mach-omap2/board-generic.c | 1 + arch/arm/mach-orion5x/board-dt.c | 3 ++ arch/arm/mach-orion5x/common.h | 6 +++ arch/arm/mach-pxa/generic.h | 15 ------ arch/arm/mach-pxa/mfp-pxa2xx.c | 1 + arch/arm/mach-pxa/pxa25x.c | 1 + arch/arm/mach-pxa/pxa27x.c | 3 ++ arch/arm/mach-pxa/reset.c | 1 + arch/arm/mach-pxa/spitz_pm.c | 2 +- arch/arm/mach-sa1100/assabet.c | 2 +- arch/arm/mach-sa1100/pm.c | 2 + arch/arm/mach-spear/pl080.c | 1 + arch/arm/mach-versatile/versatile.c | 2 +- drivers/clk/pxa/clk-pxa25x.c | 2 + drivers/clk/pxa/clk-pxa27x.c | 3 +- drivers/hwmon/max1111.c | 1 + drivers/usb/gadget/udc/pxa27x_udc.c | 6 --- drivers/usb/host/ohci-pxa27x.c | 7 +-- include/linux/platform_data/asoc-pxa.h | 1 + include/linux/platform_data/davinci-cpufreq.h | 6 +++ include/linux/platform_data/pxa2xx_udc.h | 6 +++ include/linux/soc/pxa/smemc.h | 16 ++++++ sound/arm/pxa2xx-ac97-lib.c | 2 - 33 files changed, 67 insertions(+), 92 deletions(-) delete mode 100644 arch/arm/mach-imx/cpu-imx25.c
Signature · 37 lines
2.39.2 Cc: Russell King <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Hartley Sweeten <[email protected]> Cc: Alexander Sverdlin <[email protected]> Cc: Andre Przywara <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Pengutronix Kernel Team <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: NXP Linux Team <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Aaro Koskinen <[email protected]> Cc: Janusz Krzysztofik <[email protected]> Cc: Tony Lindgren <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Sebastian Hesselbarth <[email protected]> Cc: Gregory Clement <[email protected]> Cc: Daniel Mack <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Robert Jarzmik <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Shiraz Hashim <[email protected]> Cc: [email protected] Cc: Sudeep Holla <[email protected]> Cc: Lorenzo Pieralisi <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Michael Turquette <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Alan Stern <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
PATCH 1/13 ARM: davinci: fix davinci_cpufreq_init() declaration
From: Arnd Bergmann <[email protected]>
The davinci_cpufreq_init() declaration is only seen by its caller but not the definition:
drivers/cpufreq/davinci-cpufreq.c:153:12: error: no previous prototype for 'davinci_cpufreq_init'
Move it into the platform_data header that is already used an interface between the two places.
--- arch/arm/mach-davinci/common.c | 1 + arch/arm/mach-davinci/common.h | 6 ------ include/linux/platform_data/davinci-cpufreq.h | 6 ++++++ 3 files changed, 7 insertions(+), 6 deletions(-)
arch/arm/mach-davinci/common.c +1 -0
@@ -11,6 +11,7 @@#include <linux/etherdevice.h> #include <linux/davinci_emac.h> #include <linux/dma-mapping.h> +#include <linux/platform_data/davinci-cpufreq.h> #include <asm/tlb.h> #include <asm/mach/map.h>
arch/arm/mach-davinci/common.h +0 -6
@@ -55,12 +55,6 @@ extern void davinci_common_init(const struct davinci_soc_info *soc_info);extern void davinci_init_ide (void );void davinci_init_late (void ); -#ifdef CONFIG_CPU_FREQ -int davinci_cpufreq_init (void ); -#else -static inline int davinci_cpufreq_init (void ) {return 0 ; } -#endif -#ifdef CONFIG_SUSPEND int davinci_pm_init (void );#else
include/linux/platform_data/davinci-cpufreq.h +6 -0
@@ -16,4 +16,10 @@ struct davinci_cpufreq_config { int (*init)(void); }; +#ifdef CONFIG_CPU_FREQ +int davinci_cpufreq_init (void ); +#else +static inline int davinci_cpufreq_init (void ) {return 0 ; } +#endif +#endif /* _MACH_DAVINCI_CPUFREQ_H */
Signature · 1 line
2.39.2
Re: [PATCH 01/13] ARM: davinci: fix davinci_cpufreq_init() declaration
Quoted 63 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The
davinci_cpufreq_init()declaration is only seen by its caller but not the definition:
drivers/cpufreq/davinci-cpufreq.c:153:12: error: no previous prototype for 'davinci_cpufreq_init'Move it into the
platform_dataheader that is already used an interface between the two places.Signed-off-by Arnd Bergmann <[email protected]>--- arch/arm/mach-davinci/common.c | 1 + arch/arm/mach-davinci/common.h | 6 ------ include/linux/platform_data/davinci-cpufreq.h | 6 ++++++ 3 files changed, 7 insertions(+), 6 deletions(-)arch/arm/mach-davinci/common.c +1
-0@@ -11,6 +11,7 @@#include <linux/etherdevice.h> #include <linux/davinci_emac.h> #include <linux/dma-mapping.h> +#include <linux/platform_data/davinci-cpufreq.h> #include <asm/tlb.h> #include <asm/mach/map.h> arch/arm/mach-davinci/common.h +0
-6@@ -55,12 +55,6 @@ extern void davinci_common_init(const struct davinci_soc_info *soc_info);extern void davinci_init_ide (void );void davinci_init_late (void ); -#ifdef CONFIG_CPU_FREQ -int davinci_cpufreq_init (void ); -#else -static inline int davinci_cpufreq_init (void ) {return 0 ; } -#endif -#ifdef CONFIG_SUSPEND int davinci_pm_init (void );#else include/linux/platform_data/davinci-cpufreq.h +6
-1@@ -16,4 +16,10 @@ struct davinci_cpufreq_config { int (*init)(void); }; +#ifdef CONFIG_CPU_FREQ +int davinci_cpufreq_init (void ); +#else +static inline int davinci_cpufreq_init (void ) {return 0 ; } +#endif +#endif /* _MACH_DAVINCI_CPUFREQ_H */ --
Quoted 2 lines
2.39.2
PATCH 2/13 ARM: ep93xx: fix missing-prototype warnings
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
ep93xx_clocksource_read() is only called from the file it is declared in, while ep93xx_timer_init() is declared in a header that is not included here.
arch/arm/mach-ep93xx/timer-ep93xx.c:120:13: error: no previous prototype for 'ep93xx_timer_init' arch/arm/mach-ep93xx/timer-ep93xx.c:63:5: error: no previous prototype for 'ep93xx_clocksource_read'
--- arch/arm/mach-ep93xx/timer-ep93xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-ep93xx/timer-ep93xx.c +2 -1
@@ -9,6 +9,7 @@#include <linux/io.h> #include <asm/mach/time.h> #include "soc.h" +#include "platform.h" /************************************************************************* * Timer handling for EP93xx
@@ -60,7 +61,7 @@ static u64 notrace ep93xx_read_sched_clock(void)return ret; } -u64 ep93xx_clocksource_read (struct clocksource *c) +static u64 ep93xx_clocksource_read (struct clocksource *c) {u64 ret;
Signature · 1 line
2.39.2
Re: [PATCH 02/13] ARM: ep93xx: fix missing-prototype warnings
Hi Arnd!
Quoted 10 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
ep93xx_clocksource_read()is only called from the file it is declared in, whileep93xx_timer_init()is declared in a header that is not included here.
arch/arm/mach-ep93xx/timer-ep93xx.c:120:13: error: no previous prototype for 'ep93xx_timer_init'arch/arm/mach-ep93xx/timer-ep93xx.c:63:5: error: no previous prototype for 'ep93xx_clocksource_read'Fixes 000bc17817bf ("ARM: ep93xx: switch to GENERIC_CLOCKEVENTS")Signed-off-by Arnd Bergmann <[email protected]>
Quoted 24 lines
---
arch/arm/mach-ep93xx/timer-ep93xx.c | 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)arch/arm/mach-ep93xx/timer-ep93xx.c +1
-0@@ -9,6 +9,7 @@ #include <linux/io.h> #include <asm/mach/time.h> #include "soc.h" +#include "platform.h" /*************************************************************************
* Timer handling for EP93xxarch/arm/mach-ep93xx/timer-ep93xx.c +0
-0@@ -60,7 +61,7 @@ static u64 notrace ep93xx_read_sched_clock(void) return ret; }arch/arm/mach-ep93xx/timer-ep93xx.c +1
-1-u64 ep93xx_clocksource_read (struct clocksource *c) +static u64 ep93xx_clocksource_read (struct clocksource *c){
u64 ret;
Signature · 1 line
Alexander Sverdlin.
PATCH 3/13 ARM: highbank: add missing include
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
highbank_pm_init() is declared in core.h this is not included in the file that defines it.
arch/arm/mach-highbank/pm.c:43:13: error: no previous prototype for 'highbank_pm_init'
--- arch/arm/mach-highbank/pm.c | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-highbank/pm.c +2 -0
@@ -12,6 +12,8 @@#include <uapi/linux/psci.h> +#include "core.h" +#define HIGHBANK_SUSPEND_PARAM \ ((0 << PSCI_0_2_POWER_STATE_ID_SHIFT) | \ (1 << PSCI_0_2_POWER_STATE_AFFL_SHIFT) | \
Signature · 1 line
2.39.2
Re: [PATCH 03/13] ARM: highbank: add missing include
Quoted 8 lines · On Tue, 16 May 2023 17:30:59 +0200 Arnd Bergmann <[email protected]> wrote:
From: Arnd Bergmann <[email protected]>
highbank_pm_init()is declared incore.hthis is not included in the file that defines it.
arch/arm/mach-highbank/pm.c:43:13: error: no previous prototype for 'highbank_pm_init'Signed-off-by Arnd Bergmann <[email protected]>
Cheers,
Andre
Quoted 17 lines
--- arch/arm/mach-highbank/pm.c | 2 ++ 1 file changed, 2 insertions(+)arch/arm/mach-highbank/pm.c +2
-0@@ -12,6 +12,8 @@#include <uapi/linux/psci.h> +#include "core.h" +#define HIGHBANK_SUSPEND_PARAM \ ((0 << PSCI_0_2_POWER_STATE_ID_SHIFT) | \ (1 << PSCI_0_2_POWER_STATE_AFFL_SHIFT) | \
PATCH 4/13 ARM: imx: add missing include
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
imx25_pm_init() is declared in common.h but this is not included before its definition:
arch/arm/mach-imx/pm-imx25.c:31:13: error: no previous prototype for 'imx25_pm_init'
--- arch/arm/mach-imx/pm-imx25.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-imx/pm-imx25.c +1 -0
@@ -6,6 +6,7 @@#include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> +#include "common.h" static int imx25_suspend_enter (suspend_state_t state) {
Signature · 1 line
2.39.2
PATCH 5/13 ARM: imx: remove unused mx25_revision()
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
This function has no prototype and no callers:
arm/mach-imx/cpu-imx25.c:43:5: error: no previous prototype for 'mx25_revision' [-Werror=missing-prototypes]
--- arch/arm/mach-imx/Makefile | 2 +- arch/arm/mach-imx/cpu-imx25.c | 50 ----------------------------------- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 arch/arm/mach-imx/cpu-imx25.c
arch/arm/mach-imx/Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 obj-y := cpu.o system.o irq-common.o -obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o +obj-$(CONFIG_SOC_IMX25) += mach-imx25.o pm-imx25.o obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o mach-imx27.o
arch/arm/mach-imx/cpu-imx25.c deleted +0 -50
50 lines not on this page · raw message
Signature · 1 line
2.39.2
Fabio Estevam
reviewerRe: [PATCH 05/13] ARM: imx: remove unused mx25_revision()
Hi Arnd,
Quoted 8 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
This function has no prototype and no callers:
arm/mach-imx/cpu-imx25.c:43:5: error: no previous prototype for 'mx25_revision' [-Werror=missing-prototypes]Signed-off-by Arnd Bergmann <[email protected]>
Martin Kaiser sent a patch adding a user for this function:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
It would be better to apply Martin's patch instead of removing mx25_revision().
Thanks
Re: [PATCH 05/13] ARM: imx: remove unused mx25_revision()
Quoted 8 lines · Fabio Estevam
Quoted 7 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
This function has no prototype and no callers:
arm/mach-imx/cpu-imx25.c:43:5: error: no previous prototype for 'mx25_revision' [-Werror=missing-prototypes]
Quoted 7 lines
Quoted 1 line
Signed-off-by Arnd Bergmann <[email protected]>Martin Kaiser sent a patch adding a user for this function:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
It would be better to apply Martin's patch instead of removing
mx25_revision().
I think either way is ok to address the warning. If we wanted to do this properly, the mx{25,27,31,35,5}_revision functions could all be removed and the logic hooked up to imx_set_soc_revision() in the same way that they already use mxc_set_cpu_type() for drivers/soc/imx/soc-imx.c.
I'll leave it up to you, if you want to merge Martin's patches or a replacement for the soc-imx driver through the imx tree for 6.5, I'll drop my patch from this series, otherwise I'll keep it for now and we can still do it better at later point.
Arnd
Re: [PATCH 05/13] ARM: imx: remove unused mx25_revision()
Thus wrote Arnd Bergmann ([email protected]):
Quoted 9 lines
I think either way is ok to address the warning. If we wanted to do this properly, the mx{25,27,31,35,5}_revision functions could all be removed and the logic hooked up to
imx_set_soc_revision()in the same way that they already usemxc_set_cpu_type()fordrivers/soc/imx/soc-imx.c.I'll leave it up to you, if you want to merge Martin's patches or a replacement for the soc-imx driver through the imx tree for 6.5, I'll drop my patch from this series, otherwise I'll keep it for now and we can still do it better at later point.
I suggest we merge my patches for imx25 first and then clean up all the older imx families to use the common functions.
I've just rebased the patches against today's linux-next. My understanding is that they have to go through the clk tree.
Thanks,
Martin
Re: [PATCH 05/13] ARM: imx: remove unused mx25_revision()
Quoted 12 lines · Martin Kaiser
Thus wrote Arnd Bergmann ([email protected]):
Quoted 9 lines
I think either way is ok to address the warning. If we wanted to do this properly, the mx{25,27,31,35,5}_revision functions could all be removed and the logic hooked up to
imx_set_soc_revision()in the same way that they already usemxc_set_cpu_type()fordrivers/soc/imx/soc-imx.c.I'll leave it up to you, if you want to merge Martin's patches or a replacement for the soc-imx driver through the imx tree for 6.5, I'll drop my patch from this series, otherwise I'll keep it for now and we can still do it better at later point.
Quoted 5 lines
I suggest we merge my patches for imx25 first and then clean up all the older imx families to use the common functions.
I've just rebased the patches against today's linux-next. My understanding is that they have to go through the clk tree.
This never happened, right? I see that mx25_revision() is still in the tree without any users, so I can't easily turn on the warning by default yet. Should I just go ahead and remove it for 5.6, or do you expect to have your patch ready in time for the merge window?
Arnd
Re: [PATCH 05/13] ARM: imx: remove unused mx25_revision()
Hi Arnd,
Quoted 8 lines · Arnd Bergmann
Quoted 7 lines
Quoted 4 lines
I'll leave it up to you, if you want to merge Martin's patches or a replacement for the soc-imx driver through the imx tree for 6.5, I'll drop my patch from this series, otherwise I'll keep it for now and we can still do it better at later point.
I suggest we merge my patches for imx25 first and then clean up all the older imx families to use the common functions.
Quoted 7 lines
Quoted 2 lines
I've just rebased the patches against today's linux-next. My understanding is that they have to go through the clk tree.
This never happened, right? I see that
mx25_revision()is still in the tree without any users, so I can't easily turn on the warning by default yet. Should I just go ahead and remove it for 5.6, or do you expect to have your patch ready in time for the merge window?
sorry for delaying your series.
So far, there's been no response to my patches from the clk maintainers. Let me resend the patches one final time. If we don't hear anything back within a week or so, feel free to remove mx25_revision (and probably all of arch/arm/mach-imx/cpu-imx25.c) for the 6.6 merge window.
Thanks,
Martin
PATCH 6/13 ARM: lpc32xx: add missing include
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
lpc32xx_loopback_set() is defined in linux/soc/nxp/lpc32xx-misc.h but this is not included before the function definition.
arch/arm/mach-lpc32xx/serial.c:63:6: error: no previous prototype for 'lpc32xx_loopback_set'
--- arch/arm/mach-lpc32xx/serial.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-lpc32xx/serial.c +1 -0
@@ -15,6 +15,7 @@#include <linux/serial_8250.h> #include <linux/clk.h> #include <linux/io.h> +#include <linux/soc/nxp/lpc32xx-misc.h> #include "lpc32xx.h" #include "common.h"
Signature · 1 line
2.39.2
Re: [PATCH 06/13] ARM: lpc32xx: add missing include
Quoted 17 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
lpc32xx_loopback_set()is defined inlinux/soc/nxp/lpc32xx-misc.hbut this is not included before the function definition.
arch/arm/mach-lpc32xx/serial.c:63:6: error: no previous prototype for 'lpc32xx_loopback_set'Signed-off-by Arnd Bergmann <[email protected]>--- arch/arm/mach-lpc32xx/serial.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-lpc32xx/serial.c +0
-0
arch/arm/mach-lpc32xx/serial.c line 21
Quoted 7 lines
arch/arm/mach-lpc32xx/serial.c +1
-0@@ -15,6 +15,7 @@#include <linux/serial_8250.h> #include <linux/clk.h> #include <linux/io.h> +#include <linux/soc/nxp/lpc32xx-misc.h> #include "lpc32xx.h" #include "common.h"
If you wish, you may consider to add one more tag:
--
Best wishes,
Vladimir
PATCH 7/13 ARM: omap1: add missing include
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The omap_serial_wakeup_init() declaration is not visible where it is defined, so make sure "common.h" is included here, avoiding:
arch/arm/mach-omap1/serial.c:221:12: error: no previous prototype for 'omap_serial_wakeup_init' [-Werror=missing-prototypes]
--- arch/arm/mach-omap1/serial.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap1/serial.c +1 -0
@@ -19,6 +19,7 @@#include <asm/mach-types.h> +#include "common.h" #include "serial.h" #include "mux.h" #include "pm.h"
Signature · 1 line
2.39.2
Re: [PATCH 07/13] ARM: omap1: add missing include
Quoted 8 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The
omap_serial_wakeup_init()declaration is not visible where it is defined, so make sure "common.h" is included here, avoiding:
arch/arm/mach-omap1/serial.c:221:12: error: no previous prototype for 'omap_serial_wakeup_init' [-Werror=missing-prototypes]Signed-off-by Arnd Bergmann <[email protected]>
A.
Quoted 19 lines
--- arch/arm/mach-omap1/serial.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-omap1/serial.c +1
-0@@ -19,6 +19,7 @@#include <asm/mach-types.h> +#include "common.h" #include "serial.h" #include "mux.h" #include "pm.h" Signature · 1 line
2.39.2
Re: [PATCH 07/13] ARM: omap1: add missing include
Quoted 11 lines · Aaro Koskinen
Quoted 8 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The
omap_serial_wakeup_init()declaration is not visible where it is defined, so make sure "common.h" is included here, avoiding:
arch/arm/mach-omap1/serial.c:221:12: error: no previous prototype for 'omap_serial_wakeup_init' [-Werror=missing-prototypes]Signed-off-by Arnd Bergmann <[email protected]>Acked-by Aaro Koskinen <[email protected]>
Re: [PATCH 07/13] ARM: omap1: add missing include
In reply to Aaro KoskinenQuoted 11 lines · Aaro Koskinen
Quoted 8 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The
omap_serial_wakeup_init()declaration is not visible where it is defined, so make sure "common.h" is included here, avoiding:
arch/arm/mach-omap1/serial.c:221:12: error: no previous prototype for 'omap_serial_wakeup_init' [-Werror=missing-prototypes]Signed-off-by Arnd Bergmann <[email protected]>Acked-by Aaro Koskinen <[email protected]>
PATCH 8/13 ARM: omap2: fix missing tick_broadcast() prototype
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
omap2 contains a hack to define tick_broadcast() on non-SMP configurations in place of the normal SMP definition. This one causes a warning because of a missing prototype:
arch/arm/mach-omap2/board-generic.c:44:6: error: no previous prototype for 'tick_broadcast'
Make sure to always include the header with the declaration.
--- arch/arm/mach-omap2/board-generic.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/board-generic.c +1 -0
@@ -13,6 +13,7 @@#include <linux/of_platform.h> #include <linux/irqdomain.h> #include <linux/clocksource.h> +#include <linux/clockchips.h> #include <asm/setup.h> #include <asm/mach/arch.h>
Signature · 1 line
2.39.2
Re: [PATCH 08/13] ARM: omap2: fix missing tick_broadcast() prototype
Quoted 6 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
omap2 contains a hack to define
tick_broadcast()on non-SMP configurations in place of the normal SMP definition. This one causes a warning because of a missing prototype:
Quoted 6 lines
arch/arm/mach-omap2/board-generic.c:44:6: error: no previous prototype for 'tick_broadcast'Make sure to always include the header with the declaration.
Fixes d86ad463d670 ("ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs")Signed-off-by Arnd Bergmann <[email protected]>
Quoted 19 lines
--- arch/arm/mach-omap2/board-generic.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-omap2/board-generic.c +1
-0@@ -13,6 +13,7 @@#include <linux/of_platform.h> #include <linux/irqdomain.h> #include <linux/clocksource.h> +#include <linux/clockchips.h> #include <asm/setup.h> #include <asm/mach/arch.h> Signature · 1 line
2.39.2
PATCH 9/13 ARM: orion5x: fix d2net gpio initialization
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The DT version of this board has a custom file with the gpio device. However, it does nothing because the d2net_init() has no caller or prototype:
arch/arm/mach-orion5x/board-d2net.c:101:13: error: no previous prototype for 'd2net_init'
Call it from the board-dt file as intended.
--- arch/arm/mach-orion5x/board-dt.c | 3 +++ arch/arm/mach-orion5x/common.h | 6 ++++++ 2 files changed, 9 insertions(+)
arch/arm/mach-orion5x/board-dt.c +3 -0
@@ -60,6 +60,9 @@ static void __init orion5x_dt_init(void)if (of_machine_is_compatible ("maxtor,shared-storage-2" ))mss2_init (); +if (of_machine_is_compatible ("lacie,d2-network" )) +d2net_init (); +of_platform_default_populate (NULL , orion5x_auxdata_lookup,NULL ); }
arch/arm/mach-orion5x/common.h +6 -0
@@ -73,6 +73,12 @@ extern void mss2_init(void);static inline void mss2_init (void ) {}#endif +#ifdef CONFIG_MACH_D2NET_DT +void d2net_init (void ); +#else +static inline void d2net_init (void ) {} +#endif +/***************************************************************************** * Helpers to access Orion registers ****************************************************************************/
Signature · 1 line
2.39.2
Re: [PATCH 09/13] ARM: orion5x: fix d2net gpio initialization
Quoted 6 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The DT version of this board has a custom file with the gpio device. However, it does nothing because the
d2net_init()has no caller or prototype:
Quoted 7 lines
arch/arm/mach-orion5x/board-d2net.c:101:13: error: no previous prototype for 'd2net_init'Call it from the board-dt file as intended.
Fixes 94b0bd366e36 ("ARM: orion5x: convert d2net to Device Tree")Signed-off-by Arnd Bergmann <[email protected]>
Andrew
PATCH 10/13 ARM: pxa: fix missing-prototypes warnings
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The PXA platform has a number of configurations that end up with a warning like these when building with W=1:
drivers/hwmon/max1111.c:83:5: error: no previous prototype for 'max1111_read_channel' [-Werror=missing-prototypes] arch/arm/mach-pxa/reset.c:86:6: error: no previous prototype for 'pxa_restart' [-Werror=missing-prototypes] arch/arm/mach-pxa/mfp-pxa2xx.c:254:5: error: no previous prototype for 'keypad_set_wake' [-Werror=missing-prototypes] drivers/clk/pxa/clk-pxa25x.c:70:14: error: no previous prototype for 'pxa25x_get_clk_frequency_khz' [-Werror=missing-prototypes] drivers/clk/pxa/clk-pxa25x.c:325:12: error: no previous prototype for 'pxa25x_clocks_init' [-Werror=missing-prototypes] drivers/clk/pxa/clk-pxa27x.c:74:14: error: no previous prototype for 'pxa27x_get_clk_frequency_khz' [-Werror=missing-prototypes] drivers/clk/pxa/clk-pxa27x.c:102:6: error: no previous prototype for 'pxa27x_is_ppll_disabled' [-Werror=missing-prototypes] drivers/clk/pxa/clk-pxa27x.c:470:12: error: no previous prototype for 'pxa27x_clocks_init' [-Werror=missing-prototypes] arch/arm/mach-pxa/pxa27x.c:44:6: error: no previous prototype for 'pxa27x_clear_otgph' [-Werror=missing-prototypes] arch/arm/mach-pxa/pxa27x.c:58:6: error: no previous prototype for 'pxa27x_configure_ac97reset' [-Werror=missing-prototypes] arch/arm/mach-pxa/spitz_pm.c:170:15: error: no previous prototype for 'spitzpm_read_devdata' [-Werror=missing-prototypes]
The problem is that there is a declaration for each of these, but it's only seen by the caller and not the callee. Moving these into appropriate header files ensures that both use the same calling conventions and it avoids the warnings.
--- arch/arm/mach-pxa/generic.h | 15 --------------- arch/arm/mach-pxa/mfp-pxa2xx.c | 1 + arch/arm/mach-pxa/pxa25x.c | 1 + arch/arm/mach-pxa/pxa27x.c | 3 +++ arch/arm/mach-pxa/reset.c | 1 + arch/arm/mach-pxa/spitz_pm.c | 2 +- drivers/clk/pxa/clk-pxa25x.c | 2 ++ drivers/clk/pxa/clk-pxa27x.c | 3 ++- drivers/hwmon/max1111.c | 1 + drivers/usb/gadget/udc/pxa27x_udc.c | 6 ------ drivers/usb/host/ohci-pxa27x.c | 7 +------ include/linux/platform_data/asoc-pxa.h | 1 + include/linux/platform_data/pxa2xx_udc.h | 6 ++++++ include/linux/soc/pxa/smemc.h | 16 ++++++++++++++++ sound/arm/pxa2xx-ac97-lib.c | 2 -- 15 files changed, 36 insertions(+), 31 deletions(-)
arch/arm/mach-pxa/generic.h +0 -15
@@ -27,7 +27,6 @@ extern void __init pxa25x_map_io(void);extern void __init pxa26x_init_irq (void );#define pxa27x_handle_irq ichp_handle_irq -extern unsigned pxa27x_get_clk_frequency_khz (int );extern void __init pxa27x_init_irq (void );extern void __init pxa27x_map_io (void );
@@ -52,18 +51,4 @@ extern void pxa2xx_clear_reset_status(unsigned int);static inline void pxa2xx_clear_reset_status (unsigned int mask) {}#endif -/* -* Once fully converted to the clock framework, all these functions should be -* removed, and replaced with a clk_get(NULL, "core"). -*/ -#ifdef CONFIG_PXA25x -extern unsigned pxa25x_get_clk_frequency_khz (int ); -#else -#define pxa25x_get_clk_frequency_khz (x) (0) -#endif - -#ifdef CONFIG_PXA27x -#else -#define pxa27x_get_clk_frequency_khz (x) (0) -#endif
arch/arm/mach-pxa/mfp-pxa2xx.c +1 -0
@@ -20,6 +20,7 @@#include "pxa2xx-regs.h" #include "mfp-pxa2xx.h" +#include "mfp-pxa27x.h" #include "generic.h"
arch/arm/mach-pxa/pxa25x.c +1 -0
@@ -27,6 +27,7 @@#include <linux/irqchip.h> #include <linux/platform_data/mmp_dma.h> #include <linux/soc/pxa/cpu.h> +#include <linux/soc/pxa/smemc.h> #include <asm/mach/map.h> #include <asm/suspend.h>
arch/arm/mach-pxa/pxa27x.c +3 -0
@@ -24,6 +24,7 @@#include <linux/platform_data/i2c-pxa.h> #include <linux/platform_data/mmp_dma.h> #include <linux/soc/pxa/cpu.h> +#include <linux/soc/pxa/smemc.h> #include <asm/mach/map.h> #include <asm/irq.h>
@@ -31,7 +32,9 @@#include "irqs.h" #include "pxa27x.h" #include "reset.h" +#include <linux/platform_data/pxa2xx_udc.h> #include <linux/platform_data/usb-ohci-pxa27x.h> +#include <linux/platform_data/asoc-pxa.h> #include "pm.h" #include "addr-map.h" #include "smemc.h"
arch/arm/mach-pxa/reset.c +1 -0
@@ -10,6 +10,7 @@#include "regs-ost.h" #include "reset.h" #include "smemc.h" +#include "generic.h" static void do_hw_reset (void );
arch/arm/mach-pxa/spitz_pm.c +1 -1
@@ -167,7 +167,7 @@ static bool spitz_charger_wakeup(void)gpio_get_value (SPITZ_GPIO_SYNC ); } -unsigned long spitzpm_read_devdata (int type) +static unsigned long spitzpm_read_devdata (int type) {switch (type) {case SHARPSL_STATUS_ACIN :
drivers/clk/pxa/clk-pxa25x.c +2 -0
@@ -11,10 +11,12 @@*/ #include <linux/clk-provider.h> #include <linux/clk.h> +#include <linux/clk/pxa.h> #include <linux/clkdev.h> #include <linux/io.h> #include <linux/of.h> #include <linux/soc/pxa/smemc.h> +#include <linux/soc/pxa/cpu.h> #include <dt-bindings/clock/pxa-clock.h> #include "clk-pxa.h"
drivers/clk/pxa/clk-pxa27x.c +2 -1
@@ -12,6 +12,7 @@#include <linux/clkdev.h> #include <linux/of.h> #include <linux/soc/pxa/smemc.h> +#include <linux/clk/pxa.h> #include <dt-bindings/clock/pxa-clock.h> #include "clk-pxa.h"
@@ -99,7 +100,7 @@ unsigned int pxa27x_get_clk_frequency_khz(int info)return (unsigned int )clks[0 ] / KHz; } -bool pxa27x_is_ppll_disabled (void ) +static bool pxa27x_is_ppll_disabled (void ) {unsigned long ccsr =readl (clk_regs +CCSR );
drivers/hwmon/max1111.c +1 -0
@@ -80,6 +80,7 @@ static int max1111_read(struct device *dev, int channel)#ifdef CONFIG_SHARPSL_PM static struct max1111_data *the_max1111; +int max1111_read_channel (int channel);int max1111_read_channel (int channel) {if (!the_max1111 || !the_max1111->spi)
drivers/usb/gadget/udc/pxa27x_udc.c +0 -6
@@ -2472,12 +2472,6 @@ static void pxa_udc_shutdown(struct platform_device *_dev)udc_disable (udc); } -#ifdef CONFIG_PXA27x -extern void pxa27x_clear_otgph (void ); -#else -#define pxa27x_clear_otgph () do {} while (0) -#endif -#ifdef CONFIG_PM /** * pxa_udc_suspend - Suspend udc device
drivers/usb/host/ohci-pxa27x.c +1 -6
@@ -29,6 +29,7 @@#include <linux/of_platform.h> #include <linux/of_gpio.h> #include <linux/platform_data/usb-ohci-pxa27x.h> +#include <linux/platform_data/pxa2xx_udc.h> #include <linux/platform_device.h> #include <linux/regulator/consumer.h> #include <linux/signal.h>
@@ -263,12 +264,6 @@ static inline void pxa27x_reset_hc(struct pxa27x_ohci *pxa_ohci)__raw_writel (uhchr & ~UHCHR_FHR , pxa_ohci->mmio_base +UHCHR ); } -#ifdef CONFIG_PXA27x -extern void pxa27x_clear_otgph (void ); -#else -#define pxa27x_clear_otgph () do {} while (0) -#endif -static int pxa27x_start_hc (struct pxa27x_ohci *pxa_ohci,struct device *dev) {int retval;
include/linux/platform_data/asoc-pxa.h +1 -0
@@ -27,5 +27,6 @@ typedef struct { } pxa2xx_audio_ops_t;extern void pxa_set_ac97_info (pxa2xx_audio_ops_t *ops); +extern void pxa27x_configure_ac97reset (int reset_gpio,bool to_gpio);#endif
include/linux/platform_data/pxa2xx_udc.h +6 -0
@@ -25,4 +25,10 @@ struct pxa2xx_udc_platform_data { int gpio_pullup; /* high == pullup activated */ }; +#ifdef CONFIG_PXA27x +extern void pxa27x_clear_otgph (void ); +#else +#define pxa27x_clear_otgph () do {} while (0) +#endif +#endif
include/linux/soc/pxa/smemc.h +16 -0
@@ -10,4 +10,20 @@ int pxa2xx_smemc_get_sdram_rows(void);unsigned int pxa3xx_smemc_get_memclkdiv (void );void __iomem *pxa_smemc_get_mdrefr (void ); +/* +* Once fully converted to the clock framework, all these functions should be +* removed, and replaced with a clk_get(NULL, "core"). +*/ +#ifdef CONFIG_PXA25x +extern unsigned pxa25x_get_clk_frequency_khz (int ); +#else +#define pxa25x_get_clk_frequency_khz (x) (0) +#endif + +#ifdef CONFIG_PXA27x +extern unsigned pxa27x_get_clk_frequency_khz (int ); +#else +#define pxa27x_get_clk_frequency_khz (x) (0) +#endif +#endif
sound/arm/pxa2xx-ac97-lib.c +0 -2
@@ -33,8 +33,6 @@ static struct clk *ac97conf_clk;static int reset_gpio;static void __iomem *ac97_reg_base; -extern void pxa27x_configure_ac97reset (int reset_gpio,bool to_gpio); -/* * Beware PXA27x bugs: *
Signature · 1 line
2.39.2
Re: [PATCH 10/13] ARM: pxa: fix missing-prototypes warnings
Quoting Arnd Bergmann (2023-05-16 08:31:06)
Quoted 17 lines
From: Arnd Bergmann <[email protected]>
The PXA platform has a number of configurations that end up with a warning like these when building with W=1:
drivers/hwmon/max1111.c:83:5: error: no previous prototype for 'max1111_read_channel' [-Werror=missing-prototypes]arch/arm/mach-pxa/reset.c:86:6: error: no previous prototype for 'pxa_restart' [-Werror=missing-prototypes]arch/arm/mach-pxa/mfp-pxa2xx.c:254:5: error: no previous prototype for 'keypad_set_wake' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa25x.c:70:14: error: no previous prototype for 'pxa25x_get_clk_frequency_khz' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa25x.c:325:12: error: no previous prototype for 'pxa25x_clocks_init' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa27x.c:74:14: error: no previous prototype for 'pxa27x_get_clk_frequency_khz' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa27x.c:102:6: error: no previous prototype for 'pxa27x_is_ppll_disabled' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa27x.c:470:12: error: no previous prototype for 'pxa27x_clocks_init' [-Werror=missing-prototypes]arch/arm/mach-pxa/pxa27x.c:44:6: error: no previous prototype for 'pxa27x_clear_otgph' [-Werror=missing-prototypes]arch/arm/mach-pxa/pxa27x.c:58:6: error: no previous prototype for 'pxa27x_configure_ac97reset' [-Werror=missing-prototypes]arch/arm/mach-pxa/spitz_pm.c:170:15: error: no previous prototype for 'spitzpm_read_devdata' [-Werror=missing-prototypes]
Quoted 7 lines
The problem is that there is a declaration for each of these, but it's only seen by the caller and not the callee. Moving these into appropriate header files ensures that both use the same calling conventions and it avoids the warnings.
Signed-off-by Arnd Bergmann <[email protected]>---
Re: [PATCH 10/13] ARM: pxa: fix missing-prototypes warnings
In reply to Arnd BergmannQuoted 17 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The PXA platform has a number of configurations that end up with a warning like these when building with W=1:
drivers/hwmon/max1111.c:83:5: error: no previous prototype for 'max1111_read_channel' [-Werror=missing-prototypes]arch/arm/mach-pxa/reset.c:86:6: error: no previous prototype for 'pxa_restart' [-Werror=missing-prototypes]arch/arm/mach-pxa/mfp-pxa2xx.c:254:5: error: no previous prototype for 'keypad_set_wake' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa25x.c:70:14: error: no previous prototype for 'pxa25x_get_clk_frequency_khz' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa25x.c:325:12: error: no previous prototype for 'pxa25x_clocks_init' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa27x.c:74:14: error: no previous prototype for 'pxa27x_get_clk_frequency_khz' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa27x.c:102:6: error: no previous prototype for 'pxa27x_is_ppll_disabled' [-Werror=missing-prototypes]drivers/clk/pxa/clk-pxa27x.c:470:12: error: no previous prototype for 'pxa27x_clocks_init' [-Werror=missing-prototypes]arch/arm/mach-pxa/pxa27x.c:44:6: error: no previous prototype for 'pxa27x_clear_otgph' [-Werror=missing-prototypes]arch/arm/mach-pxa/pxa27x.c:58:6: error: no previous prototype for 'pxa27x_configure_ac97reset' [-Werror=missing-prototypes]arch/arm/mach-pxa/spitz_pm.c:170:15: error: no previous prototype for 'spitzpm_read_devdata' [-Werror=missing-prototypes]
Quoted 6 lines
The problem is that there is a declaration for each of these, but it's only seen by the caller and not the callee. Moving these into appropriate header files ensures that both use the same calling conventions and it avoids the warnings.
Signed-off-by Arnd Bergmann <[email protected]>
PATCH 11/13 ARM: sa1100: address missing prototype warnings
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
There are three warnings for mach-sa1100 when building with W=1:
arch/arm/common/sa1111.c:699:1: error: no previous prototype for 'sa1111_configure_smc' [-Werror=missing-prototypes]
699 | sa1111_configure_smc(struct sa1111 *sachip, int sdram, unsigned int drac,
| ^~~~~~~~~~~~~~~~~~~~
arch/arm/mach-sa1100/assabet.c:718:13: error: no previous prototype for 'assabet_init_irq' [-Werror=missing-prototypes]
718 | void __init assabet_init_irq(void)
| ^~~~~~~~~~~~~~~~
arch/arm/mach-sa1100/pm.c:126:12: error: no previous prototype for 'sa11x0_pm_init' [-Werror=missing-prototypes]
126 | int __init sa11x0_pm_init(void)
| ^~~~~~~~~~~~~~The first two are only used locally and can be 'static', while the last one needs to include the right header.
--- arch/arm/common/sa1111.c | 2 +- arch/arm/mach-sa1100/assabet.c | 2 +- arch/arm/mach-sa1100/pm.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-)
arch/arm/common/sa1111.c +1 -1
@@ -695,7 +695,7 @@ static u32 sa1111_dma_mask[] = {/* * Configure the SA1111 shared memory controller. */ -void +static void sa1111_configure_smc (struct sa1111 *sachip,int sdram,unsigned int drac,unsigned int cas_latency) {
arch/arm/mach-sa1100/assabet.c +1 -1
@@ -715,7 +715,7 @@ static void __init assabet_map_io(void)sa1100_register_uart (2 ,3 ); } -void __init assabet_init_irq (void ) +static void __init assabet_init_irq (void ) {u32 def_val;
arch/arm/mach-sa1100/pm.c +2 -0
@@ -37,6 +37,8 @@#include <asm/suspend.h> #include <asm/mach/time.h> +#include "generic.h" +extern int sa1100_finish_suspend (unsigned long );#define SAVE (x) sleep_save[SLEEP_SAVE_##x] = x
Signature · 1 line
2.39.2
PATCH 12/13 ARM: spear: include "pl080.h" for pl080_get_signal() prototype
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
pl080_get_signal() and pl080_put_signal() are declared in pl080.h and defined in pl080.c, but this file is missing an include of the header:
arch/arm/mach-spear/pl080.c:27:5: error: no previous prototype for 'pl080_get_signal' arch/arm/mach-spear/pl080.c:62:6: error: no previous prototype for 'pl080_put_signal'
--- arch/arm/mach-spear/pl080.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-spear/pl080.c +1 -0
@@ -16,6 +16,7 @@#include <linux/spinlock_types.h> #include "spear.h" #include "misc_regs.h" +#include "pl080.h" static spinlock_t lock =__SPIN_LOCK_UNLOCKED (x);
Signature · 1 line
2.39.2
Re: [PATCH 12/13] ARM: spear: include "pl080.h" for pl080_get_signal() prototype
Quoted 19 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
pl080_get_signal()andpl080_put_signal()are declared inpl080.hand defined inpl080.c, but this file is missing an include of the header:
arch/arm/mach-spear/pl080.c:27:5: error: no previous prototype for 'pl080_get_signal'arch/arm/mach-spear/pl080.c:62:6: error: no previous prototype for 'pl080_put_signal'Signed-off-by Arnd Bergmann <[email protected]>--- arch/arm/mach-spear/pl080.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-spear/pl080.c +0
-0
arch/arm/mach-spear/pl080.c line 21
Quoted 6 lines
arch/arm/mach-spear/pl080.c +1
-0@@ -16,6 +16,7 @@#include <linux/spinlock_types.h> #include "spear.h" #include "misc_regs.h" +#include "pl080.h" static spinlock_t lock =__SPIN_LOCK_UNLOCKED (x);
Signature · 1 line
viresh
PATCH 13/13 ARM: versatile: mark mmc_status() static
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
mmc_status() is only used in the file it is defined in, and no longer has an 'extern' declaration:
arch/arm/mach-versatile/versatile.c:56:14: error: no previous prototype for 'mmc_status'
--- arch/arm/mach-versatile/versatile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-versatile/versatile.c +1 -1
@@ -53,7 +53,7 @@static void __iomem *versatile_sys_base; -unsigned int mmc_status (struct device *dev) +static unsigned int mmc_status (struct device *dev) { struct amba_device *adev = container_of(dev, struct amba_device, dev);u32 mask;
Signature · 1 line
2.39.2
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:
Hello:
This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:
Quoted 8 lines · On Tue, 16 May 2023 17:30:56 +0200 you wrote:
From: Arnd Bergmann <[email protected]>
This is part of a longer series of patches to address all -Wmissing-prototype warnings. I would like to take these through the soc tree directly, but if anyone wants to first apply a patch to their platform specific tree, I'll drop that one. See the Link below for more background.
[...]
Here is the summary with links:
- [01/13] ARM: davinci: fix davinci_cpufreq_init() declaration
https://git.kernel.org/soc/soc/c/30955b4afc2b - [02/13] ARM: ep93xx: fix missing-prototype warnings https://git.kernel.org/soc/soc/c/419013740ea1 - [03/13] ARM: highbank: add missing include https://git.kernel.org/soc/soc/c/774f60dd6abc - [04/13] ARM: imx: add missing include https://git.kernel.org/soc/soc/c/5692520a040b - [05/13] ARM: imx: remove unused mx25_revision() (no matching commit) - [06/13] ARM: lpc32xx: add missing include https://git.kernel.org/soc/soc/c/ecd2a5769d09 - [07/13] ARM: omap1: add missing include https://git.kernel.org/soc/soc/c/94c1c0a29bfc - [08/13] ARM: omap2: fix missing tick_broadcast() prototype https://git.kernel.org/soc/soc/c/861bc1d2886d - [09/13] ARM: orion5x: fix d2net gpio initialization https://git.kernel.org/soc/soc/c/f8ef12339394 - [10/13] ARM: pxa: fix missing-prototypes warnings https://git.kernel.org/soc/soc/c/a9ae9c526cc2 - [11/13] ARM: sa1100: address missing prototype warnings https://git.kernel.org/soc/soc/c/6475f4bb3fbd - [12/13] ARM: spear: include "pl080.h" for pl080_get_signal() prototype https://git.kernel.org/soc/soc/c/5e40c79a513b - [13/13] ARM: versatile: mark mmc_status() static https://git.kernel.org/soc/soc/c/88813f05b834
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html