Commit 3c35da51 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Thomas Bogendoerfer

MIPS: TXx9: Use PCI_SET_ERROR_RESPONSE()

Instead of literal, PCI error value should be set with
PCI_SET_ERROR_RESPONSE(). Use it in tx4927_pci_config_read().
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: default avatarSergio Paracuellos <sergio.paracuellos@gmal.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 923cfd08
...@@ -144,7 +144,7 @@ static int tx4927_pci_config_read(struct pci_bus *bus, unsigned int devfn, ...@@ -144,7 +144,7 @@ static int tx4927_pci_config_read(struct pci_bus *bus, unsigned int devfn,
ret = mkaddr(bus, devfn, where, pcicptr); ret = mkaddr(bus, devfn, where, pcicptr);
if (ret != PCIBIOS_SUCCESSFUL) { if (ret != PCIBIOS_SUCCESSFUL) {
*val = 0xffffffff; PCI_SET_ERROR_RESPONSE(val);
return ret; return ret;
} }
switch (size) { switch (size) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment