pci: Remove duplicate PCI_REGION_IO / "io" line
PATCH 1/1 pci: Remove duplicate PCI_REGION_IO / "io" line
Signed-off-by Pali Rohár <[email protected]>
--- cmd/pci.c | 1 - 1 file changed, 1 deletion(-)
cmd/pci.c +0 -1
@@ -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));
Signature · 1 line
2.20.1
Quoted 6 lines · Pali Rohár
Signed-off-by Pali Rohár <[email protected]>--- cmd/pci.c | 1 - 1 file changed, 1 deletion(-)
Reviewed-by Bin Meng <[email protected]>
Quoted 1 line · Pali Rohár
Signed-off-by Pali Rohár <[email protected]>
Reviewed-by Stefan Roese <[email protected]>
Thanks,
Stefan
Quoted 10 lines
--- cmd/pci.c | 1 - 1 file changed, 1 deletion(-)cmd/pci.c +0
-0@@ -450,11 +450,10 @@ static const struct pci_flag_info { } pci_flag_info[] = {
cmd/pci.c static const struct pci_flag_info { · line 459
Quoted 10 lines
cmd/pci.c +0
-1{ 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
Signature · 3 lines
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: [email protected]
Quoted 3 lines · Pali Rohár
Signed-off-by Pali Rohár <[email protected]>Reviewed-by Bin Meng <[email protected]>Reviewed-by Stefan Roese <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom