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: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmal.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
923cfd0813
commit
3c35da51f7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue