linux/arch/powerpc/platforms/512x
Michael Ellerman 10feb8f961 powerpc/512x: Fix missing prototype warnings
The mpc512x_defconfig build fails with:

  arch/powerpc/platforms/512x/mpc5121_ads_cpld.c:142:1: error: no previous prototype for ‘mpc5121_ads_cpld_map’ [-Werror=missing-prototypes]
  142 | mpc5121_ads_cpld_map(void)
      | ^~~~~~~~~~~~~~~~~~~~
  arch/powerpc/platforms/512x/mpc5121_ads_cpld.c:157:1: error: no previous prototype for ‘mpc5121_ads_cpld_pic_init’ [-Werror=missing-prototypes]
  157 | mpc5121_ads_cpld_pic_init(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~

There are prototypes for these functions but the header they are in is
not included by mpc5121_ads_cpld.c. Include it to fix the build error.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231129131919.2528517-3-mpe@ellerman.id.au
2023-11-30 13:25:27 +11:00
..
clock-commonclk.c powerpc/mpc512x: fix resource printk format warning 2023-03-30 23:35:43 +11:00
Kconfig Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc512x_generic.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
mpc512x_lpbfifo.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
mpc512x_shared.c powerpc/512x: Make mpc512x_select_reset_compat() static 2023-08-18 17:02:40 +10:00
mpc512x.h powerpc/512x: Make mpc512x_select_reset_compat() static 2023-08-18 17:02:40 +10:00
mpc5121_ads_cpld.c powerpc/512x: Fix missing prototype warnings 2023-11-30 13:25:27 +11:00
mpc5121_ads.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
mpc5121_ads.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pdm360ng.c powerpc/512x: Make pdm360ng_init() static 2023-11-30 13:24:55 +11:00