Re: [PATCH 8/8] pci: pci_mvebu: Fix comment about driver class name

Stefan Roese
2021-11-02T10:50:59Z

> This is a pci driver, not an eth driver.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
> Reviewed-by: Marek Behún <marek.behun@nic.cz>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
> drivers/pci/pci_mvebu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/pci_mvebu.c b/drivers/pci/pci_mvebu.c
> index b0c673d8c472..ed151a05a4bf 100644
> --- a/drivers/pci/pci_mvebu.c
> +++ b/drivers/pci/pci_mvebu.c
> @@ -633,7 +633,7 @@ static int mvebu_pcie_bind(struct udevice *parent)
> struct udevice *dev;
> ofnode subnode;
>
> - /* Lookup eth driver */
> + /* Lookup pci driver */
> drv = lists_uclass_lookup(UCLASS_PCI);
> if (!drv) {
> puts("Cannot find PCI driver\n");
>

Viele Grüße,
Stefan

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de