From patchwork Tue Aug 20 11:11:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 171790 Delivered-To: patch@linaro.org Received: by 2002:ac9:5c4b:0:0:0:0:0 with SMTP id r11csp3951819ocp; Tue, 20 Aug 2019 04:13:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVxDPODKHU9IT/dkjrkGrVgGwCeWKz+Z7kPzS4Q5wyHBL25EilfIMnZuyVdYENxaSxZfJ7 X-Received: by 2002:aa7:8218:: with SMTP id k24mr28369215pfi.221.1566299621957; Tue, 20 Aug 2019 04:13:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566299621; cv=none; d=google.com; s=arc-20160816; b=QpO3f4EqCY9xFTg4tDolxkxWPxssRyCxoGmyoF6PV7CtLZ25lgP/4Zszev+yaN6RA/ D5Rh9G4sCsNZn6NNa6Z0t1CakiQcQrcvLjXf/8jjlBLrQ4RryYjrpDy7wr/HakjfBsFE BkxlvGso4kuoVeHLx8kwVuHNIRWGaym+a1G9UOriHq0y/hMTG6YzuuDJnqa5FIQ+bro3 87MTa5Q2hU/dTUJj4jlz31aAD6Xzvj6RErdxOR1PLOWUpAYtZGrQUDzxm6p9yNaWaigg A94xBLmMcvSWUUlMkJhhCkzCrcl270tkfLfJwznqx/VHCqXwtx8/d2ytPQ1DIGqILekp gzUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=RV72oa93aa21BIj70xfyR68IqcSR3HA7Zwoa8K8PK0U=; b=rT/8KeIteAW8uGsgNBLhsIoVKfzXyciTeX951re+mSgGcfts0EnlCZxzQKKLGLkhOa NneX12VX9gY4ZAhWacc+fzZdUprsNZoFgaP3dh4stEYYG/fJpYidDdnlCTy7RnkkAjpr frE0h/E4j2TsLELeFGZcyw0i+nlBmHntO1mLYlHKQ82ZhP1BiMzmWLwPA8v0dIULEyDl cQ+osgGE213GL12HyCNAXKvHievAzYrorIyrpn905nnneya95BGxJ1V5yUEPD48UwYrc aWK4mRl0zN65QnDR0SGM0V2MKDVbj3d52D6PXy72B4VWveTbQKwmtogaGyxLbtqQH2Ye Gg/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hMw3t7tN; 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=pass (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 g17si11821933plo.406.2019.08.20.04.13.41; Tue, 20 Aug 2019 04:13:41 -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=pass header.i=@linaro.org header.s=google header.b=hMw3t7tN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728503AbfHTLNl (ORCPT + 5 others); Tue, 20 Aug 2019 07:13:41 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39642 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728409AbfHTLNl (ORCPT ); Tue, 20 Aug 2019 07:13:41 -0400 Received: by mail-lj1-f196.google.com with SMTP id x4so4735722ljj.6 for ; Tue, 20 Aug 2019 04:13:39 -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:mime-version :content-transfer-encoding; bh=RV72oa93aa21BIj70xfyR68IqcSR3HA7Zwoa8K8PK0U=; b=hMw3t7tN01xbKsM0iQTAF4zV57CzfDEHvLzZnqQjyOgYLH3BinWYTnHrMRg2Csabf1 4/GhhRuppUB1YkgcBqj7guE3ts8lAIFy5c00brx12/e8TMiDymSKB4FNf+TvjobvgFHe 6KGNbiVRY09er24vJBhl9ECJDeH93y2VriYvlfXUVca+Ch2RMUXhKM6U5gE3H7NnVA4M WcPJ4r0vnfc/krgHcpcan1wUXK6+ORxREw7xHAJk0PlbUCwppbUdmh7Q+4SdfMhjJpYv yRK73qrk1qyTjM6E/SkqSlwIclzraCAACQsYdX0MIn4NPfk7SREy1pyyatiqROSR8niw LARg== 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:mime-version :content-transfer-encoding; bh=RV72oa93aa21BIj70xfyR68IqcSR3HA7Zwoa8K8PK0U=; b=Lgiu8fnJ0Rcd4Yy2+YPUG7gr+LZ1kCW0c4v4ovS9eltfGXehLhL4VT5XuLXEJ8vOwC fbD81zt3JdqHyLUaIUz5BoSzdM6Xfbe6bf0sEYdpGELVUYVxjo7yFq+0lLzvO6X9D/yq jDFUuRx/DCfWpZwSUhjKSRmW39PFFxDyD09GBX8S05X917dOS6bOWBYgAbhA1ofdrOnu +wgSxH1lmLky3rRy79wy7wEQgwPPR/1BXbeTmD3hmtOLaUeAPjw5+jqc0BRA4YUMkn5T J8lHjj/3hRPI7li6tKqLil05f24NyU7qrn5VnuBpIaKLUiw3iCSrE5YTPATfjjuOkmYD aETg== X-Gm-Message-State: APjAAAUQ14t/K+vSei1YJyxHD6gTrQmwaoIxl7OlL1lKN3LoJaAimBqT Uj/oIOt2jXQrJ8OsQ52D6k4Jjl8kF7/P4g== X-Received: by 2002:a2e:8e99:: with SMTP id z25mr15473746ljk.121.1566299618876; Tue, 20 Aug 2019 04:13:38 -0700 (PDT) Received: from localhost.localdomain (c-79c8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.200.121]) by smtp.gmail.com with ESMTPSA id r89sm2749433ljr.75.2019.08.20.04.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 04:13:37 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Patrice Chotard , Maxime Coquelin Subject: [PATCH v2] pinctrl: st: Include the right header Date: Tue, 20 Aug 2019 13:11:35 +0200 Message-Id: <20190820111135.10701-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The ST pinctrl driver wants to provode a gpio_chip but is not including the header for this, fix the inclusion to use the right header. has to remain as the driver is calling of_get_named_gpio(). Cc: Patrice Chotard Cc: Maxime Coquelin Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Include again, the driver is indeed using it. - Add an explanatory comment. --- drivers/pinctrl/pinctrl-st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.21.0 Reviewed-by: Patrice Chotard diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c index b9688ea548da..25236b716fb3 100644 --- a/drivers/pinctrl/pinctrl-st.c +++ b/drivers/pinctrl/pinctrl-st.c @@ -12,8 +12,9 @@ #include #include #include -#include +#include /* of_get_named_gpio() */ #include +#include #include #include #include