@@ -1036,7 +1036,7 @@ void omap_change_voltscale_method(struct voltagedomain *voltdm,
* a pointer to the voltage domain structure corresponding to the
* VDD<name>. Else retuns error pointer.
*/
-struct voltagedomain *omap_voltage_domain_lookup(char *name)
+struct voltagedomain *omap_voltage_domain_lookup(const char *name)
{
int i;
@@ -159,7 +159,7 @@ int omap_voltage_register_pmic(struct voltagedomain *voltdm,
void omap_change_voltscale_method(struct voltagedomain *voltdm,
int voltscale_method);
/* API to get the voltagedomain pointer */
-struct voltagedomain *omap_voltage_domain_lookup(char *name);
+struct voltagedomain *omap_voltage_domain_lookup(const char *name);
int omap_voltage_late_init(void);
#else
This fixes a couple of compilation warnings with OMAP SMPS regulator driver. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/voltage.c | 2 +- arch/arm/plat-omap/include/plat/voltage.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)