提交 956266da 编写于 作者: S Samuel Ortiz

mfd: Fix ab4500 compilation warnings

When building the driver as a module, module_exit was missing, and
subsys_initcall_sync() is not defined.
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 0c41839e
......@@ -200,7 +200,8 @@ static void __exit ab4500_exit(void)
spi_unregister_driver(&ab4500_driver);
}
subsys_initcall_sync(ab4500_init);
subsys_initcall(ab4500_init);
module_exit(ab4500_exit);
MODULE_AUTHOR("Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com");
MODULE_DESCRIPTION("AB4500 core driver");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册