mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
soc: rockchip: Call rockchip_iodomain_driver_init() early
The iodomain driver has been moved into soc/rockchip and it needs to be called early before devices, set fs_initcall to it. Change-Id: I68756377411299e3a4bacbae462ae18b8c31c072 Signed-off-by: Tao Huang <huangtao@rock-chips.com> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -906,7 +906,17 @@ static struct platform_driver rockchip_iodomain_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
module_platform_driver(rockchip_iodomain_driver);
|
||||
static int __init rockchip_iodomain_driver_init(void)
|
||||
{
|
||||
return platform_driver_register(&rockchip_iodomain_driver);
|
||||
}
|
||||
fs_initcall(rockchip_iodomain_driver_init);
|
||||
|
||||
static void __exit rockchip_iodomain_driver_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&rockchip_iodomain_driver);
|
||||
}
|
||||
module_exit(rockchip_iodomain_driver_exit);
|
||||
|
||||
MODULE_DESCRIPTION("Rockchip IO-domain driver");
|
||||
MODULE_AUTHOR("Heiko Stuebner <heiko@sntech.de>");
|
||||
|
||||
Reference in New Issue
Block a user