From patchwork Mon Jan 20 08:09:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 23366 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EE0A02107B for ; Mon, 20 Jan 2014 08:09:12 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id i4sf2535804oah.7 for ; Mon, 20 Jan 2014 00:09:12 -0800 (PST) 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=12qgbw98sMUp/re9cXMURKOUEgF+6l27ZSQ7w++OKMg=; b=B0deZRE7T1oi1qv4nJYDlHllIcouB4v/A8O0wJNkI49LwgrK4bdFSqCXArQvuhTP8Z 29ElQeabQE2svzBDqrnsSf7VQ/3g39JAhmeJA/M9VEr1kbYoLMSZoelIplbRlDPwSX/y t6Dcqd5KMVRWkkdx/b9SL5zmPHBf53VezVP4TE00znD/9X4+Za1MCVQsboj4A+cCCjlL pY9v7UXurAiIieLqO9JsyICwD6HYoFvKu82S0c3SrQAlEZszk2yTY1pslFJERbqkTPkt sgCqefwY4Y3raaCQ1n1HID/R8FjN7iOV0UJKNBroEUQeUOl9a7ywCOwyDN/J4XUhhpOu ERzA== X-Gm-Message-State: ALoCoQnDKJtVfJSWs1OtW+MQD30PHj2Gz1giuJB837XLdqIQFlMtJwNNDaYikHVoErspbtcPxZKE X-Received: by 10.182.246.39 with SMTP id xt7mr584606obc.40.1390205352108; Mon, 20 Jan 2014 00:09:12 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.106.132 with SMTP id gu4ls1654546qeb.8.gmail; Mon, 20 Jan 2014 00:09:12 -0800 (PST) X-Received: by 10.58.181.165 with SMTP id dx5mr2908040vec.19.1390205352009; Mon, 20 Jan 2014 00:09:12 -0800 (PST) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id eo4si86232vdb.43.2014.01.20.00.09.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Jan 2014 00:09:12 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id cz12so2710308veb.15 for ; Mon, 20 Jan 2014 00:09:11 -0800 (PST) X-Received: by 10.52.92.115 with SMTP id cl19mr6802vdb.43.1390205351929; Mon, 20 Jan 2014 00:09:11 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp46246vcz; Mon, 20 Jan 2014 00:09:11 -0800 (PST) X-Received: by 10.180.108.130 with SMTP id hk2mr8892056wib.16.1390205350978; Mon, 20 Jan 2014 00:09:10 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by mx.google.com with ESMTPS id hg12si267737wib.39.2014.01.20.00.09.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Jan 2014 00:09:10 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.181 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=74.125.82.181; Received: by mail-we0-f181.google.com with SMTP id u56so6396695wes.26 for ; Mon, 20 Jan 2014 00:09:10 -0800 (PST) X-Received: by 10.194.93.67 with SMTP id cs3mr13276745wjb.26.1390205350478; Mon, 20 Jan 2014 00:09:10 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id w1sm907856wib.6.2014.01.20.00.09.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jan 2014 00:09:09 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij , Lars Poeschel Subject: [PATCH] gpio: mcp23s08: depend on OF_GPIO Date: Mon, 20 Jan 2014 09:09:04 +0100 Message-Id: <1390205344-15194-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.4.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The MCP drivers fails to compile on trial builds due to missing Kconfig dependency on OF_GPIO. Fix it. Cc: Lars Poeschel Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 2d49784109b5..d5bd9eece408 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -717,7 +717,7 @@ config GPIO_MAX7301 config GPIO_MCP23S08 tristate "Microchip MCP23xxx I/O expander" - depends on (SPI_MASTER && !I2C) || I2C + depends on (SPI_MASTER && !I2C) || I2C && OF_GPIO help SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 I/O expanders.