projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e4e7b
)
msm: Warning fix in trout gpio board file
author
David Brown
<davidb@codeaurora.org>
Thu, 27 Jan 2011 00:14:24 +0000
(16:14 -0800)
committer
David Brown
<davidb@codeaurora.org>
Fri, 28 Jan 2011 19:20:39 +0000
(11:20 -0800)
arch/arm/mach-msm/board-trout-gpio.c: In function 'trout_gpio_to_irq':
arch/arm/mach-msm/board-trout-gpio.c:77: error: unused variable 'msm_gpio'
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/board-trout-gpio.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-msm/board-trout-gpio.c
b/arch/arm/mach-msm/board-trout-gpio.c
index a604ec1e44bf2d685952263e7a2f691eb51a5cce..31117a4499c4bcb543904e0fbad05202df7111d6 100644
(file)
--- a/
arch/arm/mach-msm/board-trout-gpio.c
+++ b/
arch/arm/mach-msm/board-trout-gpio.c
@@
-74,8
+74,6
@@
static int msm_gpiolib_direction_output(struct gpio_chip *chip,
static int trout_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
{
- struct msm_gpio_chip *msm_gpio = to_msm_gpio_chip(chip);
-
return TROUT_GPIO_TO_INT(offset + chip->base);
}