aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-09-21 00:32:10 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-09-24 05:01:44 -0400
commit02ed185af0c146b479e5c62f9aeff975672f1d2f (patch)
tree063e1809bf80bc18ebd31741539a7185db53b435 /drivers/gpio
parent1a19864e3bc2715e95940c7ec89f75c77030ccb5 (diff)
gpio: xgene: Remove unneeded forward declation for struct xgene_gpio
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-xgene.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c
index 35104fd06bb9..5fcdac409fef 100644
--- a/drivers/gpio/gpio-xgene.c
+++ b/drivers/gpio/gpio-xgene.c
@@ -38,8 +38,6 @@
38#define GPIO_BIT_OFFSET(x) (x % XGENE_GPIOS_PER_BANK) 38#define GPIO_BIT_OFFSET(x) (x % XGENE_GPIOS_PER_BANK)
39#define GPIO_BANK_OFFSET(x) ((x / XGENE_GPIOS_PER_BANK) * GPIO_BANK_STRIDE) 39#define GPIO_BANK_OFFSET(x) ((x / XGENE_GPIOS_PER_BANK) * GPIO_BANK_STRIDE)
40 40
41struct xgene_gpio;
42
43struct xgene_gpio { 41struct xgene_gpio {
44 struct gpio_chip chip; 42 struct gpio_chip chip;
45 void __iomem *base; 43 void __iomem *base;