[PATCH] powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype

2023-08-17 Thread Christophe Leroy
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) |

Re: [PATCH] powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype

2023-08-23 Thread Michael Ellerman
On Thu, 17 Aug 2023 15:44:26 +0200, Christophe Leroy wrote: > 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