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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ static int tx4927_pci_config_read(struct pci_bus *bus, unsigned int devfn,

	ret = mkaddr(bus, devfn, where, pcicptr);
	if (ret != PCIBIOS_SUCCESSFUL) {
		*val = 0xffffffff;
		PCI_SET_ERROR_RESPONSE(val);
		return ret;
	}
	switch (size) {