From patchwork Thu May 29 14:54:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 31134 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AAF0B20068 for ; Thu, 29 May 2014 14:54:24 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id 29sf2103775yhl.2 for ; Thu, 29 May 2014 07:54:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=+6FVgeCBM5tZTfknTmlpk/H3NWG6EXjYsEYU9abA9ZE=; b=mk/9MRaW47UyKGzntGYbhq865G76wT+rd2e+skso22Tj+YYJb4x1fLRL4A+ySseSId iURAHHIcH5x62D6h7TanCepfG/GdaMBmYa9ZYdHYiXy38b6WS+eKiUuXp77UX/As5noz IGTjOmMj5aGD3Zwdx8ElYDoo4Cq+h/g4kkfZtKyO+2d/cmYPMktzDzqcX3WlzLWkjquA K6+jK09FmE0vt8UrIPeNTazVpmESyFde8rRGY5JnkPKSaXOm2HK3galMJ2/p0emlksN5 IBouAXjNX9JfPhzCoEKoR8lMEYW98I1m/JgnAJI729NAFKDSjfrWyTVrevZnnVulMUsi kRlA== X-Gm-Message-State: ALoCoQlGzO/kPAzqKQCVAVZbD66YfcdhlMvhAv7+Qb8VTOiZKC/8U24dFfznZfDJr8OBLhayqQ0m X-Received: by 10.236.197.39 with SMTP id s27mr2921742yhn.36.1401375263825; Thu, 29 May 2014 07:54:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.97 with SMTP id g88ls583912qgf.40.gmail; Thu, 29 May 2014 07:54:23 -0700 (PDT) X-Received: by 10.58.227.193 with SMTP id sc1mr2399692vec.43.1401375263686; Thu, 29 May 2014 07:54:23 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id aq3si657457vdc.7.2014.05.29.07.54.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 May 2014 07:54:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id sa20so513354veb.13 for ; Thu, 29 May 2014 07:54:23 -0700 (PDT) X-Received: by 10.58.216.163 with SMTP id or3mr1202853vec.80.1401375263590; Thu, 29 May 2014 07:54:23 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp35005vcb; Thu, 29 May 2014 07:54:23 -0700 (PDT) X-Received: by 10.66.251.136 with SMTP id zk8mr9322122pac.137.1401375262029; Thu, 29 May 2014 07:54:22 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha2si1289477pac.36.2014.05.29.07.54.21; Thu, 29 May 2014 07:54:21 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932979AbaE2OyU (ORCPT + 1 other); Thu, 29 May 2014 10:54:20 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:48170 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932720AbaE2OyU (ORCPT ); Thu, 29 May 2014 10:54:20 -0400 Received: by mail-we0-f171.google.com with SMTP id w62so540707wes.16 for ; Thu, 29 May 2014 07:54:18 -0700 (PDT) X-Received: by 10.180.228.100 with SMTP id sh4mr61007799wic.40.1401375256735; Thu, 29 May 2014 07:54:16 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id m1sm3451423wib.20.2014.05.29.07.54.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 May 2014 07:54:15 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij Subject: [PATCH] gpio: select IRQ_DOMAIN for gpiolib irqchip helpers Date: Thu, 29 May 2014 16:54:12 +0200 Message-Id: <1401375252-29260-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , These helpers depend on the IRQ_DOMAIN so select it explicitly, as it will not be present on all platforms such as Intel desktops and laptops using Intel-MID. Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index fa3cb189f972..4a1b5113e527 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -56,6 +56,7 @@ config GPIO_ACPI depends on ACPI config GPIOLIB_IRQCHIP + select IRQ_DOMAIN bool config DEBUG_GPIO @@ -710,7 +711,7 @@ config GPIO_AMD8111 config GPIO_INTEL_MID bool "Intel Mid GPIO support" depends on PCI && X86 - select IRQ_DOMAIN + select GPIOLIB_IRQCHIP help Say Y here to support Intel Mid GPIO.