aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xgene.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-09-21 00:32:59 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-09-24 05:03:01 -0400
commit513d3c0f40c8e22fac019d5b0694374d17fbe682 (patch)
treeefd813f2a818aaa94ec7b66758d7d21a1edda853 /drivers/gpio/gpio-xgene.c
parent02ed185af0c146b479e5c62f9aeff975672f1d2f (diff)
gpio: xgene: Remove unneeded #ifdef CONFIG_OF guard
This driver depends on OF_GPIO, so it won't be built if !CONFIG_OF. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xgene.c')
-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 5fcdac409fef..7d489221dc1f 100644
--- a/drivers/gpio/gpio-xgene.c
+++ b/drivers/gpio/gpio-xgene.c
@@ -220,13 +220,11 @@ static int xgene_gpio_remove(struct platform_device *pdev)
220 return 0; 220 return 0;
221} 221}
222 222
223#ifdef CONFIG_OF
224static const struct of_device_id xgene_gpio_of_match[] = { 223static const struct of_device_id xgene_gpio_of_match[] = {
225 { .compatible = "apm,xgene-gpio", }, 224 { .compatible = "apm,xgene-gpio", },
226 {}, 225 {},
227}; 226};
228MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); 227MODULE_DEVICE_TABLE(of, xgene_gpio_of_match);
229#endif
230 228
231static struct platform_driver xgene_gpio_driver = { 229static struct platform_driver xgene_gpio_driver = {
232 .driver = { 230 .driver = {