Browse Source

disp: msm: move msm_drv probe to module level

With the introduction of sync state drivers, msm_drm probe can be
moved back to module level from late init.  It is now guaranteed
that the dependencies are probed before the actual driver is.

Change-Id: Ib7c3e0e3c3d32b37b7672b6119bcf5371783659d
Signed-off-by: Satya Rama Aditya Pinapala <[email protected]>
Satya Rama Aditya Pinapala 5 years ago
parent
commit
d97b665e1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      msm/msm_drv.c

+ 1 - 1
msm/msm_drv.c

@@ -2002,7 +2002,7 @@ static void __exit msm_drm_unregister(void)
 	msm_smmu_driver_cleanup();
 }
 
-late_initcall(msm_drm_register);
+module_init(msm_drm_register);
 module_exit(msm_drm_unregister);
 
 MODULE_AUTHOR("Rob Clark <[email protected]");