From patchwork Wed May 30 21:53:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 137302 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp5836630lji; Wed, 30 May 2018 14:53:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLn4xuQ11oQqDf+6YB4hypKE9KB+Jq3NVnMq10fNSw0ZvhQZnNkp8qSeiwN1dmqcwB48MmH X-Received: by 2002:a65:4ecc:: with SMTP id w12-v6mr3468102pgq.214.1527717214059; Wed, 30 May 2018 14:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527717214; cv=none; d=google.com; s=arc-20160816; b=M9+1GpNw+L+8YtZZvoI6eKhVCeXz4P2IkWNWRD0EIxITkVgE7idWmRvc3gFQ+ZCZMN wjkJZd0WeTPQdO/OK02Q7+fWFJkDMXfzyzZyyw9bOPr8ReTTkCo1Rv4y7r59/tRrWfUM 5K3xUlCMmY1Qm9YNvG8RbwkQNbh+FE3PZNYMuoaKEIce9N0zud6wavCg8UGjPM7J0D5j 2VPr2udmn5p/b5nNnB+ZGNlafHUkTaGOIPxUiUZR9v1zwMqGrsRu97qWq3aLSvGqkqXF 3k3R6MDjzZYP3rWgD+0ejC5PU9xMWVKWwS0IMWbvw4hMn1mD+qi+O/+iVHyN9ZIJFiMQ OwPw== 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 :arc-authentication-results; bh=cQe0VRKYawt8e5/quw0psS8BSXGoy1D9sSozZxrsuIc=; b=AsyarB+J3Sh1J0yTGQ8/fQLgjg7DjRZ8Nw01BBr7Wbd53tvUkxJ3n1uED1QPR1aA3+ dRMt9lJBOheCABoFjkYqYU3l48aES11SXrgK1uJitSp1wTiv+QtzJNG+GGa9dzkjmMmp tH/GTvnj7P064GhG/6oDZK1LJuMdUct6yp3dImIqf8YbeyUL32qMsb/gpusPi30Wu0YM 3Ysf1Ua/a84ooW9m+mbaHnHpmVRF9U9L/Q4iaVcZL7sKFv0TQzieEWHcJa9QT1OxTCh3 R/tD50p+XNCkZW9ILppFO2opqMdIFFKpZBksBqu1ks1x9US5amhfybB8dcd0aZcQqqGb E8cA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 q12-v6si27413876pgn.377.2018.05.30.14.53.33; Wed, 30 May 2018 14:53:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932459AbeE3Vxc (ORCPT + 13 others); Wed, 30 May 2018 17:53:32 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:38821 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932310AbeE3Vxb (ORCPT ); Wed, 30 May 2018 17:53:31 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lmgbf-1fwelq37tj-00aBTp; Wed, 30 May 2018 23:53:25 +0200 From: Arnd Bergmann To: Stanimir Varbanov , Lorenzo Pieralisi , Bjorn Helgaas Cc: linux-gpio@vger.kernel.org, Arnd Bergmann , Jingoo Han , Srinivas Kandagatla , Bjorn Andersson , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pci: qcom: include gpio/consumer.h Date: Wed, 30 May 2018 23:53:06 +0200 Message-Id: <20180530215324.1178564-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:vWp/0v8x9WEIv7clsiVAqiZs2DUobQRTF9mPnKdvd0f2JjIsdbo /JTg/iLaf+PVgYKJedfF9NiG/5d0DhATvvndPZdUu45eYkqs8LO0U30t3yQEyScyuWi1lEl 44r03FHZcdbK2ynVAaHCoORxjVerxJxBq8NyFH1ra/kv1MExcOboBzUvmpS0ExhUp13FNdu Xswv++Bb01IeZtTzeZ6mQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:ZOt2u/6IGd0=:7h344KbOCfOCUjxx9dDaJV Y+TVW80JZyMKb6j/NEMDrj9C0C6Ub5QA6toGiwBeSi6q9EnKDvKZctF+m6b0LAcGcTvsmCBWr 9q9BP7r+Iiur1U/lseBfw9kUl6zTgyUbrmBL4IvEeBy8Dt/K/+6XfMrTDAV7mn7829a2gcttC +ZhQ48swv/8P2xW9HgquvQvF+WrjFimbGDfAkQixK+qWmt2v1d0TRIYR9txwENbcvpGMRv2Pj F1H+6fZ9CRN8VVaT6VPEZvQwzyE6gkMerBth3xYZhPvFOdK2OEDnW2/Mm7vXgBtt5FWj0nnx2 zRq72Tuy4s5R0J/cPehUw89JZrjapR5Vq+5pa8mM3jSsbQvj5vUlkW+RX15QEI+kZbOKAtpFz GDgCAJLIYqTfV/zyyF3kcao0lq6Ks0/boINvrX0bZZ9Ge16wW16swovcKbZEEsw7pqCnDWY2t QXeyUMZhS6MQyCq1NUaGTNUFfKXv1LIaPL+7KTYR7G3dGvqz617hcsOdERlpca3XKgvHnE6BR fI+yUude7dQLCCVC7Tr7UspMNLJL3uLXArAOGxHVjiPQiFZHt0c+SWbZnus1A4WmOexlILEEJ LWm0TkQMQuHHRrrYB3dEWGyArF9HAJ1oV3F6XdZN6McOhY4ujiMQr5QSV2C5F+Dw8xZdwF5vb 8EvmXotNlyxPEVmfc50TLowtlWf0Y3t2EVCa1cJ2ih7sGKlXk0Bemu78ML6rU7Lam6Jg= Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org When CONFIG_GPIOLIB is disabled, we run into a build failure: drivers/pci/dwc/pcie-qcom.c: In function 'qcom_pcie_probe': drivers/pci/dwc/pcie-qcom.c:1223:16: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_regulator_get_optional'? [-Werror=implicit-function-declaration] pcie->reset = devm_gpiod_get_optional(dev, "perst", GPIOD_OUT_LOW); Including gpio/consumer.h directly is the correct fix. Signed-off-by: Arnd Bergmann --- drivers/pci/dwc/pcie-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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/pci/dwc/pcie-qcom.c b/drivers/pci/dwc/pcie-qcom.c index b65bbf7c284e..17df19db851e 100644 --- a/drivers/pci/dwc/pcie-qcom.c +++ b/drivers/pci/dwc/pcie-qcom.c @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include #include