Re: [PATCHv8 04/19] of/pci: Add of_pci_get_devfn() function

2013-04-10 Thread Rob Herring
On 04/09/2013 04:06 PM, Thomas Petazzoni wrote: > From: Thierry Reding > > This function can be used to parse the device and function number from a > standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be used on > the returned value obtain the device and function numbers respectively. >

[PATCHv8 04/19] of/pci: Add of_pci_get_devfn() function

2013-04-09 Thread Thomas Petazzoni
From: Thierry Reding This function can be used to parse the device and function number from a standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be used on the returned value obtain the device and function numbers respectively. Signed-off-by: Thierry Reding Signed-off-by: Thomas Petazz