[PATCH 0/6] powerpc: Fix compiler warnings

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 15 03:02:59 EDT 2020


powerpc currently has lots of -Wmissing-prototypes warnings. This series
fixes them.

Sascha Hauer (6):
  powerpc: Add prototypes to header file
  powerpc: Add missing includes
  powerpc: Make locally used functions static
  powerpc: Add prototypes for functions called from assembly
  powerpc: Remove unused functions
  powerpc: Add function prototypes for exception handlers

 arch/powerpc/boards/freescale-p1010rdb/ddr.c  |  4 +--
 .../boards/freescale-p1010rdb/p1010rdb.c      |  2 ++
 arch/powerpc/boards/freescale-p1022ds/ddr.c   |  4 +--
 .../boards/freescale-p1022ds/p1022ds.c        |  2 ++
 arch/powerpc/boards/pcm030/pcm030.c           |  3 ++
 arch/powerpc/cpu-85xx/traps.c                 |  6 ++--
 arch/powerpc/ddr-8xxx/ctrl_regs.c             |  7 ++--
 arch/powerpc/ddr-8xxx/ddr.h                   |  4 ---
 arch/powerpc/ddr-8xxx/ddr2_dimm_params.c      |  2 +-
 arch/powerpc/include/asm/fsl_ddr_sdram.h      |  8 +++++
 arch/powerpc/include/asm/processor.h          |  8 +++++
 arch/powerpc/lib/board.c                      |  3 ++
 arch/powerpc/mach-mpc5xxx/cpu.c               | 24 -------------
 arch/powerpc/mach-mpc5xxx/reginfo.c           |  1 +
 arch/powerpc/mach-mpc5xxx/speed.c             |  3 +-
 arch/powerpc/mach-mpc5xxx/time.c              |  2 +-
 arch/powerpc/mach-mpc5xxx/traps.c             | 28 ++-------------
 arch/powerpc/mach-mpc85xx/cpu.c               |  4 +++
 arch/powerpc/mach-mpc85xx/cpu_init.c          | 13 ++++---
 arch/powerpc/mach-mpc85xx/cpuid.c             |  1 +
 arch/powerpc/mach-mpc85xx/fsl_gpio.c          | 35 -------------------
 arch/powerpc/mach-mpc85xx/fsl_i2c.c           |  1 +
 arch/powerpc/mach-mpc85xx/speed.c             |  9 -----
 arch/powerpc/mach-mpc85xx/time.c              |  2 +-
 drivers/net/fec_mpc5200.c                     |  2 +-
 25 files changed, 59 insertions(+), 119 deletions(-)

-- 
2.28.0




More information about the barebox mailing list