From patchwork Mon May 29 11:42:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 100653 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp296141qge; Mon, 29 May 2017 04:42:35 -0700 (PDT) X-Received: by 10.84.233.199 with SMTP id m7mr75588085pln.108.1496058154948; Mon, 29 May 2017 04:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496058154; cv=none; d=google.com; s=arc-20160816; b=nWOP8x8TzIT0UWA2/+QqaTH/CeGBQotCNyKRqrlBP2ggkmbg9BKtNiyk22Fwzf+c+y zK2glHLdPcCCMuOm33ZWQPmTg+lmA9h6+FJc/fY5IXZhohG+oPZK6zMzkZ0S128lTcNi /czqOPFDyzrwTmW9nEqX6bDr9OcR+vKr9CSqc+fuvs+w/xe4UzatK2eMVpYqVtarA9wz /sz0dykKQbA0zWgRrSFKv4dr1yK5zMwcnsDcwBepteoDJ1N5sHOpLkjfsfwzcH8d9+l5 26K3G5R9RXFWjO4tTz/i/B4Xk40ZxwGeh2+PDHvnGc8SpRq3hBvXMHeX/p63GH7vClNN 62fQ== 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 :dkim-signature:arc-authentication-results; bh=8MwnueHx8mjwLBggiEKUJjp2MZGxMoLLfZJ7DkQfwE8=; b=08yuqWEhTGgNXmj1mj4+5iD7clxUuTEPXVmCL6sLcLC7dZmrN+q1QIgqzb95vSFCCO Pxzy1xQAA3N0ixJnRLnXB2dfNpK+1ahDyzmrwpbE0nCbBKq8b1oBbFX6cy4Cm8XbBa2T NQsbT6jXpZwZlAjJuFoeKoHW35HKNxhBgmxmCYQExOimRhTHVoeSu5FBn8tcNq/3oo3T 6UcUP2MvKXoGg97ElJ0XcOruNwLGrDRX7xxBfMDAbySGV4oNF1Oa0+hXkAayoDz/ENiU QT2+qFirgzrEZ8w5UlLbe/0AUCzRkXiUgWTs9+7JbLGQrS70Jo7r1YVyRLQQRshIoBGR hccw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d5si9933228pgu.372.2017.05.29.04.42.34; Mon, 29 May 2017 04:42:34 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751146AbdE2LmU (ORCPT + 4 others); Mon, 29 May 2017 07:42:20 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:33473 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750989AbdE2LmS (ORCPT ); Mon, 29 May 2017 07:42:18 -0400 Received: by mail-lf0-f45.google.com with SMTP id m18so33424368lfj.0 for ; Mon, 29 May 2017 04:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=F8ie88wCRe3iIwC3WdT6aKNU1aRJj4v9AVilC61iId4=; b=HYLxjFJTl7awBS4I06T2i6LyCplAFVzhXMlY5spNd3L0GYlH+YG7ND+R/mtzm9vioc BhcjRDrXA/7ZgH46fSpKf0WlIuiPFPirGeTVkLQMmIxhmlFdhs72kn49Lb7XTt4rnHBL 3mTOFHHI2jkpM/xeVmQQY50SFHef2NP+a6Bu0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=F8ie88wCRe3iIwC3WdT6aKNU1aRJj4v9AVilC61iId4=; b=XyQTHplATMhGLum5zHqAky/GCbYL2a8L28HaL7Y0qEzd/xYIzQlDiYLNM/nBVOf2kc 3DN+cQrY7xDj1vyHvbPyD0Z31EhDkfgG0VCEYGMP467s4Bx5yTd2VmZclw/fIr4jE8Y6 DubpzCV26JBdXG5VhAI5RmfSg3/dernfCQbL+ScjI8/3hZC8Sy44ml0UtyHQZcEdJP5w Q1WNTbG3pc7Etn4HLL+nopOOR4qDFQtLz27du8Ag8Et2FopVT55IcNDtn3e4OFgCRZ0b jmEhqBLX2yEcg9fU645CDBHViqNKhbdgqZ9R+C8rSmPWIZsV9TEoVCUQQ0kUofr5m7sp dVHQ== X-Gm-Message-State: AODbwcDlKGKXRAPgAAglw2/LtFxYaNknz5BOIoWRlsglqHH2VuAiPWvk R0PQsyWNCjTnUyQVmf0C1g== X-Received: by 10.46.69.198 with SMTP id s189mr4618442lja.13.1496058136203; Mon, 29 May 2017 04:42:16 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id u135sm1955446lja.7.2017.05.29.04.42.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 May 2017 04:42:14 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij , Paul Cercueil Subject: [PATCH] gpio/pinctrl: ingenic: depend on OF Date: Mon, 29 May 2017 13:42:11 +0200 Message-Id: <20170529114211.8683-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fix compile errors due to missing OF. Cc: Paul Cercueil Reported-by: Randy Dunlap Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 1 + drivers/pinctrl/Kconfig | 1 + 2 files changed, 2 insertions(+) -- 2.9.4 -- 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 64bc995df191..395c85df48fd 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -244,6 +244,7 @@ config GPIO_ICH config GPIO_INGENIC tristate "Ingenic JZ47xx SoCs GPIO support" + depends on OF depends on MACH_INGENIC || COMPILE_TEST select GPIOLIB_IRQCHIP help diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index abc1cef7ad96..7ae04a97e530 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -312,6 +312,7 @@ config PINCTRL_ZYNQ config PINCTRL_INGENIC bool "Pinctrl driver for the Ingenic JZ47xx SoCs" default y + depends on OF depends on MACH_INGENIC || COMPILE_TEST select GENERIC_PINCONF select GENERIC_PINCTRL_GROUPS