projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ed185
)
gpio: xgene: Remove unneeded #ifdef CONFIG_OF guard
author
Axel Lin
<axel.lin@ingics.com>
Sun, 21 Sep 2014 04:32:59 +0000
(12:32 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 24 Sep 2014 09:03:01 +0000
(11:03 +0200)
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>
drivers/gpio/gpio-xgene.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-xgene.c
b/drivers/gpio/gpio-xgene.c
index 5fcdac409fef09adbd5149b5b913eb36fc01db60..7d489221dc1fe45fb0b3e6c17f531b1a6777cab4 100644
(file)
--- 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)
return 0;
}
-#ifdef CONFIG_OF
static const struct of_device_id xgene_gpio_of_match[] = {
{ .compatible = "apm,xgene-gpio", },
{},
};
MODULE_DEVICE_TABLE(of, xgene_gpio_of_match);
-#endif
static struct platform_driver xgene_gpio_driver = {
.driver = {