[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190709164503.GB19709@e121166-lin.cambridge.arm.com>
Date: Tue, 9 Jul 2019 17:45:03 +0100
From: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: kishon@...com, bhelgaas@...gle.com, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, linux-omap@...r.kernel.org
Subject: Re: [PATCH] PCI: dwc: pci-dra7xx: Add missing include file
On Fri, Jun 14, 2019 at 11:40:44PM +0800, YueHaibing wrote:
> Fix build error:
>
> drivers/pci/controller/dwc/pci-dra7xx.c:
> In function dra7xx_pcie_probe:
> drivers/pci/controller/dwc/pci-dra7xx.c:777:10:
> error: implicit declaration of function devm_gpiod_get_optional;
> did you mean devm_regulator_get_optional? [-Werror=implicit-function-declaration]
>
> reset = devm_gpiod_get_optional(dev, NULL, GPIOD_OUT_HIGH);
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/pci/controller/dwc/pci-dra7xx.c | 1 +
> 1 file changed, 1 insertion(+)
Applied to pci/dwc for v5.3, thanks.
Lorenzo
> diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c b/drivers/pci/controller/dwc/pci-dra7xx.c
> index 419451e..4234ddb 100644
> --- a/drivers/pci/controller/dwc/pci-dra7xx.c
> +++ b/drivers/pci/controller/dwc/pci-dra7xx.c
> @@ -26,6 +26,7 @@
> #include <linux/types.h>
> #include <linux/mfd/syscon.h>
> #include <linux/regmap.h>
> +#include <linux/gpio/consumer.h>
>
> #include "../../pci.h"
> #include "pcie-designware.h"
> --
> 2.7.4
>
>
Powered by blists - more mailing lists