Message ID | 1411273979.20539.2.camel@phoenix |
---|---|
State | Not Applicable, archived |
Headers | show |
On Sun, Sep 21, 2014 at 6:32 AM, Axel Lin <axel.lin@ingics.com> wrote: > This driver depends on OF_GPIO, so it won't be built if !CONFIG_OF. > > Signed-off-by: Axel Lin <axel.lin@ingics.com> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index cef92f4..82263e4 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -223,13 +223,11 @@ static int xgene_gpio_remove(struct platform_device *pdev) return ret; } -#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 = {
This driver depends on OF_GPIO, so it won't be built if !CONFIG_OF. Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/gpio/gpio-xgene.c | 2 -- 1 file changed, 2 deletions(-)