lkml.org 
[lkml]   [2010]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] regulator: Fix prototype for MAX8998 buck set_voltage()
Date
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/regulator/max8998.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index cb28cf8..7568df6 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -354,7 +354,7 @@ static inline void buck2_gpio_set(int gpio, int v)
}

static int max8998_set_voltage_buck(struct regulator_dev *rdev,
- int min_uV, int max_uV, int *selector)
+ int min_uV, int max_uV, unsigned *selector)
{
struct max8998_data *max8998 = rdev_get_drvdata(rdev);
struct max8998_platform_data *pdata =
--
1.7.1


\
 
 \ /
  Last update: 2010-11-19 13:09    [W:0.023 / U:1.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site