1
0
Fork 0

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>
hifive-unleashed-5.1
Axel Lin 2014-09-21 12:32:59 +08:00 committed by Linus Walleij
parent 02ed185af0
commit 513d3c0f40
1 changed files with 0 additions and 2 deletions

View File

@ -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 = {