You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
i2c: rk3x: Use subsys_initcall() when CONFIG_ROCKCHIP_THUNDER_BOOT=y
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Change-Id: I1e371710300774696909946b7650c7275374c99e
This commit is contained in:
@@ -2125,11 +2125,7 @@ static int __init rk3x_i2c_driver_init(void)
|
||||
{
|
||||
return platform_driver_register(&rk3x_i2c_driver);
|
||||
}
|
||||
#ifdef CONFIG_INITCALL_ASYNC
|
||||
subsys_initcall_sync(rk3x_i2c_driver_init);
|
||||
#else
|
||||
subsys_initcall(rk3x_i2c_driver_init);
|
||||
#endif
|
||||
|
||||
static void __exit rk3x_i2c_driver_exit(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user