From a40affea9d93db7d3aa48858ccdd9185d4ea2a3b Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 5 Jun 2014 16:11:10 +0530 Subject: misc: therm_est: move initialisation to device_initcall_sync The therm est driver should register after all thermal zone and sensor driver get initaialised and this is happen through module-init. Hence move this to device_initcall_sync() to have all required driver intialised. Change-Id: I3a888a1d974b570ca528b4c789844e3ac3fe5eb1 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/419501 --- drivers/misc/therm_est.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/therm_est.c b/drivers/misc/therm_est.c index f04143ce2..68883e60b 100644 --- a/drivers/misc/therm_est.c +++ b/drivers/misc/therm_est.c @@ -903,4 +903,4 @@ static int __init therm_est_driver_init(void) { return platform_driver_register(&therm_est_driver); } -module_init(therm_est_driver_init); +device_initcall_sync(therm_est_driver_init); -- cgit v1.2.2