ARM: tegra: dvfs: Add tegra_dvfs_ prefix
Alex Frid [Sat, 7 Sep 2013 06:32:35 +0000 (23:32 -0700)]
Added tegra_dvfs_ prefix to public dvfs functions.

Change-Id: I65995465fa79f4554504a4b37fa1e8f83f83ab1c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/271817
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

arch/arm/mach-tegra/dvfs.c
arch/arm/mach-tegra/dvfs.h
arch/arm/mach-tegra/tegra11_dvfs.c
arch/arm/mach-tegra/tegra12_dvfs.c
arch/arm/mach-tegra/tegra14_dvfs.c

index d2f326c..9b95e20 100644 (file)
@@ -1278,7 +1278,7 @@ static int __init get_thermal_profile_size(
        return i + 1;
 }
 
-void __init init_rail_vmax_thermal_profile(
+void __init tegra_dvfs_rail_init_vmax_thermal_profile(
        int *therm_trips_table, int *therm_caps_table,
        struct dvfs_rail *rail, struct dvfs_dfll_data *d)
 {
@@ -1301,7 +1301,7 @@ void __init init_rail_vmax_thermal_profile(
        }
 }
 
-void __init init_rail_vmin_thermal_profile(
+void __init tegra_dvfs_rail_init_vmin_thermal_profile(
        int *therm_trips_table, int *therm_floors_table,
        struct dvfs_rail *rail, struct dvfs_dfll_data *d)
 {
index 29b6736..7de1892 100644 (file)
@@ -234,10 +234,10 @@ struct tegra_cooling_device *tegra_dvfs_get_cpu_vmax_cdev(void);
 struct tegra_cooling_device *tegra_dvfs_get_cpu_vmin_cdev(void);
 struct tegra_cooling_device *tegra_dvfs_get_core_vmin_cdev(void);
 struct tegra_cooling_device *tegra_dvfs_get_gpu_vmin_cdev(void);
-void __init init_rail_vmin_thermal_profile(
+void tegra_dvfs_rail_init_vmin_thermal_profile(
        int *therm_trips_table, int *therm_floors_table,
        struct dvfs_rail *rail, struct dvfs_dfll_data *d);
-void __init init_rail_vmax_thermal_profile(
+void tegra_dvfs_rail_init_vmax_thermal_profile(
        int *therm_trips_table, int *therm_caps_table,
        struct dvfs_rail *rail, struct dvfs_dfll_data *d);
 int tegra_dvfs_rail_dfll_mode_set_cold(struct dvfs_rail *rail);
index ae5b59b..688e915 100644 (file)
@@ -807,13 +807,14 @@ void __init tegra11x_init_dvfs(void)
        BUG_ON((i == ARRAY_SIZE(cpu_cvb_dvfs_table)) || ret);
 
        /* Init thermal limits */
-       init_rail_vmax_thermal_profile(
+       tegra_dvfs_rail_init_vmax_thermal_profile(
                vdd_cpu_vmax_trips_table, vdd_cpu_therm_caps_table,
                &tegra11_dvfs_rail_vdd_cpu, &cpu_dvfs.dfll_data);
-       init_rail_vmin_thermal_profile(cpu_cvb_dvfs_table[i].therm_trips_table,
+       tegra_dvfs_rail_init_vmin_thermal_profile(
+               cpu_cvb_dvfs_table[i].therm_trips_table,
                cpu_cvb_dvfs_table[i].therm_floors_table,
                &tegra11_dvfs_rail_vdd_cpu, &cpu_dvfs.dfll_data);
-       init_rail_vmin_thermal_profile(vdd_core_vmin_trips_table,
+       tegra_dvfs_rail_init_vmin_thermal_profile(vdd_core_vmin_trips_table,
                vdd_core_therm_floors_table, &tegra11_dvfs_rail_vdd_core, NULL);
 
        /* Init rail structures and dependencies */
index 8807e64..2257088 100644 (file)
@@ -796,7 +796,7 @@ void __init tegra12x_init_dvfs(void)
                &tegra12_dvfs_rail_vdd_cpu, &cpu_dvfs.dfll_data);
        init_rail_thermal_profile(vdd_core_therm_trips_table,
                vdd_core_therm_floors_table, &tegra12_dvfs_rail_vdd_core, NULL);*/
-       init_rail_vmin_thermal_profile(vdd_gpu_therm_trips_table,
+       tegra_dvfs_rail_init_vmin_thermal_profile(vdd_gpu_therm_trips_table,
                vdd_gpu_therm_floors_table, &tegra12_dvfs_rail_vdd_gpu, NULL);
 
        /* Init rail structures and dependencies */
index ffffdd8..fe9ca8b 100644 (file)
@@ -836,13 +836,14 @@ void __init tegra14x_init_dvfs(void)
        BUG_ON((i == ARRAY_SIZE(cpu_cvb_dvfs_table)) || ret);
 
        /* Init thermal limits */
-       init_rail_vmax_thermal_profile(
+       tegra_dvfs_rail_init_vmax_thermal_profile(
                vdd_cpu_vmax_trips_table, vdd_cpu_therm_caps_table,
                &tegra14_dvfs_rail_vdd_cpu, &cpu_dvfs.dfll_data);
-       init_rail_vmin_thermal_profile(cpu_cvb_dvfs_table[i].therm_trips_table,
+       tegra_dvfs_rail_init_vmin_thermal_profile(
+               cpu_cvb_dvfs_table[i].therm_trips_table,
                cpu_cvb_dvfs_table[i].therm_floors_table,
                &tegra14_dvfs_rail_vdd_cpu, &cpu_dvfs.dfll_data);
-       init_rail_vmin_thermal_profile(vdd_core_vmin_trips_table,
+       tegra_dvfs_rail_init_vmin_thermal_profile(vdd_core_vmin_trips_table,
                vdd_core_therm_floors_table, &tegra14_dvfs_rail_vdd_core, NULL);
 
        /* Init rail structures and dependencies */