diff options
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-histb.c')
| -rw-r--r-- | drivers/pci/controller/dwc/pcie-histb.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/drivers/pci/controller/dwc/pcie-histb.c b/drivers/pci/controller/dwc/pcie-histb.c index 86f9d16c50d7..410555dccb6d 100644 --- a/drivers/pci/controller/dwc/pcie-histb.c +++ b/drivers/pci/controller/dwc/pcie-histb.c @@ -127,10 +127,8 @@ static int histb_pcie_rd_own_conf(struct pci_bus *bus, unsigned int devfn,  {  	struct dw_pcie *pci = to_dw_pcie_from_pp(bus->sysdata); -	if (PCI_SLOT(devfn)) { -		*val = ~0; +	if (PCI_SLOT(devfn))  		return PCIBIOS_DEVICE_NOT_FOUND; -	}  	*val = dw_pcie_read_dbi(pci, where, size);  	return PCIBIOS_SUCCESSFUL; |