From fccf63238234f033696cfd26405f56878cbb001f Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Mon, 13 Feb 2012 15:13:32 +0530 Subject: gpio: tegra: FIx build warning Fixing build warning as kernel/drivers/gpio/gpio-tegra.c:217: warning: initialization from incompatible pointer type Change-Id: Ic03c1711cf93b4ada80adaf1589c6080e6166e90 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/83409 --- drivers/gpio/gpio-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpio') diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 9feafe7d60c1..4a09afdd70dd 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c @@ -203,7 +203,7 @@ static int tegra_gpio_direction_output(struct gpio_chip *chip, unsigned offset, } static int tegra_gpio_set_debounce(struct gpio_chip *chip, unsigned offset, - int value) + unsigned debounce) { return -ENOSYS; } -- cgit v1.2.3