Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.12 KB | None | 0 0
  1. diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c        
  2. index 562ffc1..8ecfe6f 100644                                                  
  3. --- a/drivers/spi/spi-pxa2xx-pci.c                                              
  4. +++ b/drivers/spi/spi-pxa2xx-pci.c                                              
  5. @@ -157,7 +157,7 @@ static int pxa2xx_spi_pci_probe(struct pci_dev *dev,        
  6.     return -EIO;                                                                
  7.   }                                                                            
  8.   ssp->irq = dev->irq;                                                          
  9. - ssp->port_id = (c->port_id >= 0) ? c->port_id : dev->devfn;                  
  10. + ssp->port_id = (c->port_id >= 0) ? c->port_id : dev->devfn-168;              
  11.   ssp->type = c->type;                                                          
  12.                                                                                
  13.   snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id);                    
  14. --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement