linux/arch/powerpc/platforms/44x
Christophe Leroy 81554d10b2 powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype
ppc4xx_defconfig with W=1 results in:

  CC      arch/powerpc/platforms/44x/warp.o
arch/powerpc/platforms/44x/warp.c:369:5: error: no previous prototype for 'pika_dtm_register_shutdown' [-Werror=missing-prototypes]
  369 | int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/platforms/44x/warp.c:374:5: error: no previous prototype for 'pika_dtm_unregister_shutdown' [-Werror=missing-prototypes]
  374 | int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

The functions were added by commit 4ebef31fa6 ("[POWERPC] PIKA Warp:
Update platform code to support Rev B boards")

Those functions are not used localy and allthough their symbols are
exported they are not declared in any header file so they can't be used.

Remove them, then remove the associated list as it will now remain empty
hence becomes useless.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/830923f0e0375a14609204246d302c7476a8f948.1692279855.git.christophe.leroy@csgroup.eu
2023-08-18 17:03:14 +10:00
..
44x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
canyonlands.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
ebony.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
fsp2.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
fsp2.h powerpc/44x/fsp2: Add fsp2 headers 2017-12-11 13:03:32 +11:00
idle.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
iss4xx.c powerpc: Use of_property_present() for testing DT property presence 2023-03-30 23:36:35 +11:00
Kconfig gpiolib: split of_mm_gpio_chip out of linux/of_gpio.h 2023-03-06 12:33:01 +02:00
machine_check.c powerpc: Add esr as a synonym for pt_regs.dsisr 2021-08-26 21:21:06 +10:00
Makefile powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
misc_44x.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ppc44x_simple.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
ppc476_modules.lds ppc476: Enable a linker work around for IBM errata #46 2014-05-01 08:26:34 +10:00
ppc476.c powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
sam440ep.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
warp.c powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype 2023-08-18 17:03:14 +10:00