summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2014-06-05 06:41:10 -0400
committerNicolin Chen <nicolinc@nvidia.com>2017-08-14 21:38:52 -0400
commita40affea9d93db7d3aa48858ccdd9185d4ea2a3b (patch)
tree530d84131a7c5c1f4833a24715fc8f7bfc58df1a
parentfba9b47f996177f52ccdf2b7a62ce913eebee935 (diff)
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 <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/419501
-rw-r--r--drivers/misc/therm_est.c2
1 files changed, 1 insertions, 1 deletions
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)
903{ 903{
904 return platform_driver_register(&therm_est_driver); 904 return platform_driver_register(&therm_est_driver);
905} 905}
906module_init(therm_est_driver_init); 906device_initcall_sync(therm_est_driver_init);