Browse Source

msm/sde/rotator: Initialise rotator module after MDP module init

Doing late initialization of rotator module since it depends
upon providers which are initialized during msm bind time.
Hence, calling rotator module init only after msm module
init is complete.

Change-Id: I15ea08251c639cf121e9bed1d7bd579ade78cd12
Signed-off-by: Shubhashree Dhar <[email protected]>
Shubhashree Dhar 6 năm trước cách đây
mục cha
commit
944b545245
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rotator/sde_rotator_dev.c

+ 1 - 1
rotator/sde_rotator_dev.c

@@ -3733,6 +3733,6 @@ static void __exit sde_rotator_exit_module(void)
 	platform_driver_unregister(&rotator_driver);
 }
 
-module_init(sde_rotator_init_module);
+late_initcall(sde_rotator_init_module);
 module_exit(sde_rotator_exit_module);
 MODULE_DESCRIPTION("MSM SDE ROTATOR driver");