From patchwork Mon May 29 12:57:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 100656 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp325611qge; Mon, 29 May 2017 05:58:31 -0700 (PDT) X-Received: by 10.99.45.6 with SMTP id t6mr19000759pgt.209.1496062711809; Mon, 29 May 2017 05:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496062711; cv=none; d=google.com; s=arc-20160816; b=X1OjFUeP/iT52mEiWYtOJ1zH8MUzJ+N9ewh3vn3axtG6KbEfj3nuOoxr8NCL9oLvw7 tvHJXXJ3ruTHt5CLYa8fAeZVlDEoX2bOg0Bxd4r5L4ebi9Uuc1vpuqGWWTJy7JKHMotE 5rSYsdepSGXHtTfB/XYY/tM6D0QxKAa0OJY9JuJY9l+UhYX9wMSocaIkCevq9/VTcojc aH1y8RQ4w8zH1412A3wiSWrHHARr4e03/eQII1bhLFSSP/pUmlBgBdvETqO/mQcsDakQ hxFZrta1qDtj7YuorXieK6I7g6JSHMg60Px7dVuyomKEhkHQctLw5XA6EVxnl23h26m/ aq6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=xRLB3whQ0QU0qvMLWixNKX8RKZ7lTmxPFB0z5PaGcGg=; b=KStaCE6Ov4+ZpXfUVEvf4ndV5viNEnXGiInaWsM7B526SS6ZkY8el8oLESeXMLOnQ6 Qzf0glR0vK3TKtAc4LWloX95GZLzNFC8ka8cFeguU3Y/SPp72sFBBRNDLElWuh39Fd9n DZCf2dUIjGivWlq8GWZITdjJzGUGbXZREDbPyLAPODrJ/b87kDpDiSrVvFDF8hn04mPQ PafIz15O53sNIwesHVPsVkV+Pwa4RnZpknp+gA92PqyQArOrAmbK0Luvid6awYdMB4eN FYhPHbIrcOdNaoeaA3KTtIgJRGApjppz4f+FDo8xbvv7nmIb06aKZzd0ryJP2sjpiQwj EPzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 p12si41371095pli.219.2017.05.29.05.58.31; Mon, 29 May 2017 05:58:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751204AbdE2M6Z (ORCPT + 25 others); Mon, 29 May 2017 08:58:25 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:61832 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbdE2M6X (ORCPT ); Mon, 29 May 2017 08:58:23 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MW8Zl-1dQg5r1sVd-00XJXk; Mon, 29 May 2017 14:58:18 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Paul Cercueil , Arnd Bergmann , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] pinctrl: ingenic: add CONFIG_OF dependency Date: Mon, 29 May 2017 14:57:49 +0200 Message-Id: <20170529125802.163127-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170529125802.163127-1-arnd@arndb.de> References: <20170529125802.163127-1-arnd@arndb.de> X-Provags-ID: V03:K0:fzMVG9H3CCIAjOG3WYNaYbxTO8cjzP2zIv/fWtJgyD5cAsllLcM w5Gmn6SrZSHl8t/7F81vqgVFksk+f1/oeekCvziArRgQyQmcoCBqgXr5txM1GBntLSBpKAJ 0Zhcwt4OXecpqYwdcX5QhrLKJnZRjGcy13ihfuFz8KcJWmInfxodokGQCUuoQnxjnz4mdSv jfPsMRUG926KAl6jYeIjw== X-UI-Out-Filterresults: notjunk:1; V01:K0:kYqC/deO7mE=:IkykZm0zv5trmvGHZr+Yz4 0N25ny1vJT9el16eH7BFe0qh/eG7Qys2nAGOpDrkjr8FoFR3BZ+o2iNeW7ZWOyx5q0jf8C0dG mcBBFFzpRB1v3U8go5U9HsqZLmOSGzq9wAYp2za6CM+cvN+5w7bNhrEGnQ8x5eM7txhyFUzGW OIwP92G04AkXOoyO2iQKcXlTRvWXXcbRvQirhl8KlEO2ji4UlVHrjIZe5Lq7J1KLde1EMSimF DenCyqPFgkVLV7kDDu/YNwybgIzIBe++avvxkj3s6BbhjH37n5YzJ+3OyJN+U6vydgqee8NFD MbxTHgKG5ZZCDLvTIKbacu/L4HlrhoTTa1IfobJUFIYFu/LpObHvRDiVufdXNtthVYsiS1cbr ASQ2EvW24d5a9uxm9GIL7Yn1JgtjoYQhpMrkaT19Wfyc7tr4yXQ0VsGhmZB5TYeA4f/orISi2 Zc0eTlb8boYiRHSATpOMk8lva8IcqDO2lcwOlFi62sYv3zTwTVQcFeGKebNHgvfnepaEoCf3q Oz8x1Pc1l5tKjG1exXNYoEFxla9UpwMIQpMLTJCeY01f8RrVLj4tlLsPjbfXTeQsM4LPJ5yCw RcFKxKkfMwhL4flkNGyONJK04/mT22A2gwndZRi7OnEgnxNaVp65Yag6PZpgzkKatAR+PSJSG VuLbAR3OhDDbxlI4OvsSOo5gLjyzTchZBCkhOEYpakn+1yO52kIQMt6PxtOrgvqTL/IM= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver failts to build when CONFIG_OF is disabled: drivers/pinctrl/pinctrl-ingenic.c:467:20: error: 'pinconf_generic_dt_node_to_map_all' undeclared here (not in a function); did you mean 'pinconf_generic_dump_config'? drivers/pinctrl/pinctrl-ingenic.c:468:17: error: 'pinconf_generic_dt_free_map' undeclared here (not in a function); did you mean 'pinconf_generic_params'? Fixes: b5c23aa46537 ("pinctrl: add a pinctrl driver for the Ingenic jz47xx SoCs") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index abc1cef7ad96..332bd303da36 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -313,6 +313,7 @@ config PINCTRL_INGENIC bool "Pinctrl driver for the Ingenic JZ47xx SoCs" default y depends on MACH_INGENIC || COMPILE_TEST + depends on OF select GENERIC_PINCONF select GENERIC_PINCTRL_GROUPS select GENERIC_PINMUX_FUNCTIONS