[PATCH] pci: Remove duplicate PCI_REGION_IO / "io" line

Stefan Roese sr at denx.de
Mon Sep 19 09:03:14 CEST 2022


On 15.09.22 15:54, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali at kernel.org>

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

Thanks,
Stefan

> ---
>   cmd/pci.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/cmd/pci.c b/cmd/pci.c
> index 6258699fec81..58a74755c8b2 100644
> --- a/cmd/pci.c
> +++ b/cmd/pci.c
> @@ -450,11 +450,10 @@ static const struct pci_flag_info {
>   } pci_flag_info[] = {
>   	{ PCI_REGION_IO, "io" },
>   	{ PCI_REGION_PREFETCH, "prefetch" },
>   	{ PCI_REGION_SYS_MEMORY, "sysmem" },
>   	{ PCI_REGION_RO, "readonly" },
> -	{ PCI_REGION_IO, "io" },
>   };
>   
>   static void pci_show_regions(struct udevice *bus)
>   {
>   	struct pci_controller *hose = dev_get_uclass_priv(pci_get_controller(bus));

Viele Grüße,
Stefan Roese

-- 
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 at denx.de


More information about the U-Boot mailing list