Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c
- index 562ffc1..8ecfe6f 100644
- --- a/drivers/spi/spi-pxa2xx-pci.c
- +++ b/drivers/spi/spi-pxa2xx-pci.c
- @@ -157,7 +157,7 @@ static int pxa2xx_spi_pci_probe(struct pci_dev *dev,
- return -EIO;
- }
- ssp->irq = dev->irq;
- - ssp->port_id = (c->port_id >= 0) ? c->port_id : dev->devfn;
- + ssp->port_id = (c->port_id >= 0) ? c->port_id : dev->devfn-168;
- ssp->type = c->type;
- snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id);
- --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement