From 7391b685365f8b1dc8c1477c6b3507007567991c Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 14 Jul 2011 18:38:07 +0530 Subject: mfd: tps6591x: Reorganise GPIO definition Adding the TPS6591x gpio definition in tps6591x core header files. bug 849976 Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd Reviewed-on: http://git-master/r/41040 Reviewed-by: Varun Colbert Tested-by: Varun Colbert --- drivers/mfd/tps6591x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mfd') diff --git a/drivers/mfd/tps6591x.c b/drivers/mfd/tps6591x.c index f63a01a2166a..fba43df03e83 100644 --- a/drivers/mfd/tps6591x.c +++ b/drivers/mfd/tps6591x.c @@ -410,7 +410,7 @@ static void tps6591x_gpio_init(struct tps6591x *tps6591x, tps6591x->gpio.label = tps6591x->client->name; tps6591x->gpio.dev = tps6591x->dev; tps6591x->gpio.base = gpio_base; - tps6591x->gpio.ngpio = 9; + tps6591x->gpio.ngpio = TPS6591X_GPIO_NR; tps6591x->gpio.can_sleep = 1; tps6591x->gpio.direction_input = tps6591x_gpio_input; -- cgit v1.2.3