diff options
author | Jinyoung Park <jinyoungp@nvidia.com> | 2013-09-26 15:43:16 +0900 |
---|---|---|
committer | Gabby Lee <galee@nvidia.com> | 2013-09-26 03:55:04 -0700 |
commit | 92870f67cbaf5753b9f6f24787f11fce84399fbd (patch) | |
tree | 2c518c7f091fdd59b87621e118378effb823a22b | |
parent | 931518312b66555c862137dfbaaebc8e4265cafe (diff) |
drivers: misc: therm_est: use late_initcall_sync
Changed module_init() to late_initcall_sync() for therm_est driver
to ensure therm_est driver registration after complete
all thermal_zone driver registration.
Bug 1375775
Change-Id: I0b70d1d14a40540056dbf2b07a16657f766d00a3
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/279213
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
-rw-r--r-- | drivers/misc/therm_est.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/therm_est.c b/drivers/misc/therm_est.c index 699c8ce5ca03..57ab9cdf1f5a 100644 --- a/drivers/misc/therm_est.c +++ b/drivers/misc/therm_est.c @@ -1059,4 +1059,4 @@ static int __init therm_est_driver_init(void) { return platform_driver_register(&therm_est_driver); } -module_init(therm_est_driver_init); +late_initcall_sync(therm_est_driver_init); |