linux/arch/powerpc/platforms/pasemi
Arnd Bergmann 54f30b83fe powerpc: address missing-prototypes warnings
There are a few warnings in powerpc64 defconfig builds after -Wmissing-prototypes
gets promoted from W=1 to the default warning set:

arch/powerpc/mm/book3s64/pgtable.c:422:6: error: no previous prototype for 'arch_report_meminfo' [-Werror=missing-prototypes]
arch/powerpc/platforms/cell/ras.c:275:5: error: no previous prototype for 'cbe_sysreset_hack' [-Werror=missing-prototypes]
arch/powerpc/platforms/cell/spu_manage.c:29:21: error: no previous prototype for 'spu_devnode' [-Werror=missing-prototypes]
arch/powerpc/platforms/pasemi/time.c:12:17: error: no previous prototype for 'pas_get_boot_time' [-Werror=missing-prototypes]
arch/powerpc/platforms/powermac/feature.c:1532:13: error: no previous prototype for 'g5_phy_disable_cpu1' [-Werror=missing-prototypes]
arch/powerpc/platforms/86xx/pic.c:28:13: error: no previous prototype for 'mpc86xx_init_irq' [-Werror=missing-prototypes]
drivers/pci/pci-sysfs.c:936:13: error: no previous prototype for 'pci_adjust_legacy_attr' [-Werror=missing-prototypes]

Address these by including the right header files or marking the
functions static. The audit.c one is a bit tricky since compat_audit.h
cannot include regular kernel headers tht have conflicting types on
32-bit powerpc.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[mpe: Drop change to __vmemmap_free() which only exists in mm]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230727122720.2558065-1-arnd@kernel.org
2023-08-02 22:22:19 +10:00
..
dma_lib.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
gpio_mdio.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
idle.c powerpc updates for 5.15 2021-09-03 11:22:50 -07:00
iommu.c powerpc: Use of_property_read_bool() for boolean properties 2023-03-30 23:36:35 +11:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
misc.c powerpc/pasemi: Use strscpy instead of strlcpy 2022-09-06 11:03:04 +10:00
msi.c powerpc/msi: Fix deassociation of MSI descriptors 2022-12-17 10:58:48 +00:00
pasemi.h powerpc: address missing-prototypes warnings 2023-08-02 22:22:19 +10:00
pci.c powerpc/pasemi: Use of_root in pas_pci_init() 2022-09-06 11:03:31 +10:00
powersave.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
setup.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
time.c powerpc: address missing-prototypes warnings 2023-08-02 22:22:19 +10:00