diff options
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex-class3.c')
-rw-r--r-- | arch/arm/mach-omap2/smartreflex-class3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c index f438cf4d847b..53d9d0a5b39d 100644 --- a/arch/arm/mach-omap2/smartreflex-class3.c +++ b/arch/arm/mach-omap2/smartreflex-class3.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | static int sr_class3_enable(struct voltagedomain *voltdm) | 16 | static int sr_class3_enable(struct voltagedomain *voltdm) |
17 | { | 17 | { |
18 | unsigned long volt = omap_voltage_get_nom_volt(voltdm); | 18 | unsigned long volt = voltdm_get_voltage(voltdm); |
19 | 19 | ||
20 | if (!volt) { | 20 | if (!volt) { |
21 | pr_warning("%s: Curr voltage unknown. Cannot enable sr_%s\n", | 21 | pr_warning("%s: Curr voltage unknown. Cannot enable sr_%s\n", |
@@ -32,7 +32,7 @@ static int sr_class3_disable(struct voltagedomain *voltdm, int is_volt_reset) | |||
32 | omap_vp_disable(voltdm); | 32 | omap_vp_disable(voltdm); |
33 | sr_disable(voltdm); | 33 | sr_disable(voltdm); |
34 | if (is_volt_reset) | 34 | if (is_volt_reset) |
35 | omap_voltage_reset(voltdm); | 35 | voltdm_reset(voltdm); |
36 | 36 | ||
37 | return 0; | 37 | return 0; |
38 | } | 38 | } |