summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-09-21 12:32:10 +0800
committerLinus Walleij <linus.walleij@linaro.org>2014-09-24 11:01:44 +0200
commit02ed185af0c146b479e5c62f9aeff975672f1d2f (patch)
tree063e1809bf80bc18ebd31741539a7185db53b435 /drivers/gpio
parent1a19864e3bc2715e95940c7ec89f75c77030ccb5 (diff)
downloadop-kernel-dev-02ed185af0c146b479e5c62f9aeff975672f1d2f.zip
op-kernel-dev-02ed185af0c146b479e5c62f9aeff975672f1d2f.tar.gz
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 35104fd..5fcdac4 100644
--- a/drivers/gpio/gpio-xgene.c
+++ b/drivers/gpio/gpio-xgene.c
@@ -38,8 +38,6 @@
#define GPIO_BIT_OFFSET(x) (x % XGENE_GPIOS_PER_BANK)
#define GPIO_BANK_OFFSET(x) ((x / XGENE_GPIOS_PER_BANK) * GPIO_BANK_STRIDE)
-struct xgene_gpio;
-
struct xgene_gpio {
struct gpio_chip chip;
void __iomem *base;
OpenPOWER on IntegriCloud