Commit d87a2337 authored by Xiu Jianfeng's avatar Xiu Jianfeng Committed by Michael Ellerman

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

Add missing __init/__exit annotations to module init/exit funcs.
Signed-off-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220911084344.196353-1-xiujianfeng@huawei.com
parent b86cf14f
......@@ -294,7 +294,7 @@ static struct platform_driver gpio_mdio_driver =
},
};
static int gpio_mdio_init(void)
static int __init gpio_mdio_init(void)
{
struct device_node *np;
......@@ -314,7 +314,7 @@ static int gpio_mdio_init(void)
}
module_init(gpio_mdio_init);
static void gpio_mdio_exit(void)
static void __exit gpio_mdio_exit(void)
{
platform_driver_unregister(&gpio_mdio_driver);
if (gpio_regs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment