[PATCH 00/13] ARM: SoC: address -Wmissing-prototype warnings

Arnd Bergmann arnd at kernel.org
Tue May 16 08:30:56 PDT 2023


From: Arnd Bergmann <arnd at arndb.de>

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

Link: https://people.kernel.org/arnd/missing-prototype-warnings-in-the-kernel

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

-- 
2.39.2

Cc: Russell King <linux at armlinux.org.uk>
Cc: Bartosz Golaszewski <brgl at bgdev.pl>
Cc: Hartley Sweeten <hsweeten at visionengravers.com>
Cc: Alexander Sverdlin <alexander.sverdlin at gmail.com>
Cc: Andre Przywara <andre.przywara at arm.com>
Cc: Shawn Guo <shawnguo at kernel.org>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: NXP Linux Team <linux-imx at nxp.com>
Cc: Vladimir Zapolskiy <vz at mleia.com>
Cc: Aaro Koskinen <aaro.koskinen at iki.fi>
Cc: Janusz Krzysztofik <jmkrzyszt at gmail.com>
Cc: Tony Lindgren <tony at atomide.com>
Cc: Andrew Lunn <andrew at lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
Cc: Gregory Clement <gregory.clement at bootlin.com>
Cc: Daniel Mack <daniel at zonque.org>
Cc: Haojian Zhuang <haojian.zhuang at gmail.com>
Cc: Robert Jarzmik <robert.jarzmik at free.fr>
Cc: Viresh Kumar <vireshk at kernel.org>
Cc: Shiraz Hashim <shiraz.linux.kernel at gmail.com>
Cc: soc at kernel.org
Cc: Sudeep Holla <sudeep.holla at arm.com>
Cc: Lorenzo Pieralisi <lpieralisi at kernel.org>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: Michael Turquette <mturquette at baylibre.com>
Cc: Stephen Boyd <sboyd at kernel.org>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: Alan Stern <stern at rowland.harvard.edu>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-omap at vger.kernel.org
Cc: linux-clk at vger.kernel.org
Cc: linux-usb at vger.kernel.org



More information about the linux-arm-kernel mailing list