Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pasemi: Add __init/__exit annotations to module init/exit funcs

Add missing __init/__exit annotations to module init/exit funcs.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220911084344.196353-1-xiujianfeng@huawei.com

authored by

Xiu Jianfeng and committed by
Michael Ellerman
d87a2337 b86cf14f

+2 -2
+2 -2
arch/powerpc/platforms/pasemi/gpio_mdio.c
··· 294 294 }, 295 295 }; 296 296 297 - static int gpio_mdio_init(void) 297 + static int __init gpio_mdio_init(void) 298 298 { 299 299 struct device_node *np; 300 300 ··· 314 314 } 315 315 module_init(gpio_mdio_init); 316 316 317 - static void gpio_mdio_exit(void) 317 + static void __exit gpio_mdio_exit(void) 318 318 { 319 319 platform_driver_unregister(&gpio_mdio_driver); 320 320 if (gpio_regs)