Fixed compiler cast warning in DFLL SiMon callback.
Change-Id: Ie764fbbed03535ac5291e444807145792361d85f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/388161
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
{
unsigned long flags;
int i, simon_offset;
- int curr_domain = (int)v;
+ int curr_domain = (int)((long)v);
struct tegra_cl_dvfs *cld = container_of(
nb, struct tegra_cl_dvfs, simon_grade_nb);
struct dvfs_rail *rail = cld->safe_dvfs->dvfs_rail;