projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b0909
)
drivers/gpio/da8xx_gpio.c: Fix build warning
author
Anatolij Gustschin
<agust@denx.de>
Wed, 7 Dec 2011 11:47:47 +0000
(11:47 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 9 Dec 2011 09:54:38 +0000
(10:54 +0100)
Fix:
da8xx_gpio.c: In function 'gpio_toggle_value':
da8xx_gpio.c:208:23: warning: variable 'bank' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/gpio/da8xx_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/da8xx_gpio.c
b/drivers/gpio/da8xx_gpio.c
index 7a1561429d885fca9db1781fd92b7497d0f1f771..74b58e889f2bfd916f771505dd2967508319cc18 100644
(file)
--- a/
drivers/gpio/da8xx_gpio.c
+++ b/
drivers/gpio/da8xx_gpio.c
@@
-205,9
+205,6
@@
void gpio_free(int gp)
void gpio_toggle_value(int gp)
{
- struct davinci_gpio *bank;
-
- bank = GPIO_BANK(gp);
gpio_set_value(gp, !gpio_get_value(gp));
}