From patchwork Mon May 29 12:57:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 100655 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp325494qge; Mon, 29 May 2017 05:58:11 -0700 (PDT) X-Received: by 10.99.184.2 with SMTP id p2mr19049987pge.126.1496062691087; Mon, 29 May 2017 05:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496062691; cv=none; d=google.com; s=arc-20160816; b=rMNDyxH8K7gwPLTMFah+hH7qcQS5Ak+AGCFU1VFmtF8BmTqIxUEyH/qiEwPojmxSp3 BqaWtIB5Ga9BsHARZvLE2mx4QdnCKfZt7HYPKzvCnrHJsLZ4yi1o7M32G6yFXAgv7FN9 8jGCkUVwVAEl98Ge7+/Y7lerlUKodJ9wzaTpzKcauC7gJDG+JMR8zHjF+HBwVnPpAOU0 HxPGZVRAavjj8By7hWs7B4fJ6NPXKDGAunllFg51QNQd+859b1KixAK8NhGJGMoCNLsj RHDgRdduvOgr34PGIOEeo1i5vOlscGL4x4ackFUztY/sUwL5a7FZqdW3dbNcdxLFv1O6 sPCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=tCZ65qHOX5ATQ+/lmMFJh0i0NrIwp9UMV9p2s2/LfYk=; b=zUWlbsuIyGl1F7IBSjR7FoykzoKzKkRhSWWler92OmM6ayrrz+g0JjHSAvJM9EhojU lNvXoIgEz1oW8gVwUAIgOBbMktibMtBbZCu8BsDJ37Ajf+izedx2GJLXL9JKcQoJWkMt M2O3VIsvoXMj5fXaJN8jhtiexWwEtMa8wljYZIU/Af6V0YV1braMidHKhK6W/TibYOzj YuY8LeA2bzeGJPKfDO0GFq+Kondr6do95JB+MvwvHLQt3iF4/FXsNda8CZZ/HNmORebW lix6afJZDwWKk6YmWtEHTPFjgQICQnqxizq4tV2DNYPc1CmNPQCCjPqfTrEb15uZWk7b PiCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w33si41646935plb.153.2017.05.29.05.58.10; Mon, 29 May 2017 05:58:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750966AbdE2M6K (ORCPT + 4 others); Mon, 29 May 2017 08:58:10 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:56197 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbdE2M6J (ORCPT ); Mon, 29 May 2017 08:58:09 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0LfY1R-1diLTR2hPF-00p7Tc; Mon, 29 May 2017 14:58:04 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Paul Cercueil , Arnd Bergmann , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] gpio: ingenic: add CONFIG_OF dependency Date: Mon, 29 May 2017 14:57:48 +0200 Message-Id: <20170529125802.163127-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:V8o/TOFu8lWHP8KsPSny8jSkLMDydmYB6ZK/kHocewLsY4T1o27 DgHqZMDV8cgEL3/9qny7WDEmseJkCQsO2qIFkyWWYkxAJm2SLU9Co1ornwPVVp5LUfQuoPp ctcoOkt11uA91puoyZY+qF2pYYu8RQHrmlOHRI3XPVIGS9bt9SysdeCFUt/aMmJMJWQWurc sxov3B8crWPAK1JuuIGBA== X-UI-Out-Filterresults: notjunk:1; V01:K0:1Txyb3769fU=:WfPTXqSdveLibp5+Of3uo8 J5M1nwpgga6d+4fbj3nDnJM2auI0a2RvUqM+8QjGqsvI7J+q2KJitZBjBiQCJVUTkVFcZzJoz 1TfYR+0a/hnwOnOAjNGND6BJX7NLHdFbopEBFXzhIA4JHClcQdmnMefAoO9Sqjvf0Pu0xlY2u TqFrTxfHe5ztnYdeQKj6pYu/yHpV6GCF4TBLtSP01gaI4XRe7Rz82+ZozMVhac8nrqO7cW2bY drcnTdTZLw4+T5gSGAOukmCT/1+J3ug0ZMCS5bzzNb5iZ5W4QZg7Eo8GzdNV1pUCsnpkqgymF aA6hjNQYpS2owm8vsIjDKlnVlzBKV66WcQZrj+C3clBrDbuCDgkr9GxO1rxGyNVNW/OEF2OJ6 T8UOYqYEEMGTYVaO5fQeTP5NqRIQJU22LRFvMgNo8c7KnSUaGpBCGkJBzInNrx4FUK0QUhfMv HCbzmljs7y0LiZouaCArw5bg4fcPjYj9BkmZvcesTZqEgPDTymRGIZ600vHwpeOGkWCkApf7J RHRGNueKO58wFboDyY+nau5AS02tspSVTzDZzgZwBzJL53vBGPaOMg2WS5uspC5CshCV/v+W7 QYLCPlTaimaBE68WcpOBhYMQUqNdnvib1jDNhtPHAeJDa0IJroGUSdIZHi6UZ9H7eGxf7K1Ip 3OVXxTE2NXg5BGLU1F/GZLWio/EVRLWyipoKjcFpAPpDGCz197e84jOnfquC1bIwOmZw= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The driver cannot access the of_node field when CONFIG_OF is disabled: drivers/gpio/gpio-ingenic.c: In function 'ingenic_gpio_probe': drivers/gpio/gpio-ingenic.c:324:10: error: 'struct gpio_chip' has no member named 'of_node' Fixes: b0653ce39a0d ("gpio: Add gpio-ingenic driver") Signed-off-by: Arnd Bergmann --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 -- 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/Kconfig b/drivers/gpio/Kconfig index fe25de1b187c..436c38cdb297 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -245,6 +245,7 @@ config GPIO_ICH config GPIO_INGENIC tristate "Ingenic JZ47xx SoCs GPIO support" depends on MACH_INGENIC || COMPILE_TEST + depends on OF select GPIOLIB_IRQCHIP help Say yes here to support the GPIO functionality present on the