From: Thierry Reding Date: Thu, 16 May 2013 15:55:18 +0000 (+0200) Subject: of/pci: Add of_pci_get_devfn() function X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~72^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45ab9702fb47d18dca116b3a0509efa19fbcb27a;p=pandora-kernel.git of/pci: Add of_pci_get_devfn() function 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 Petazzoni Signed-off-by: Jason Cooper --- Reading git-diff-tree failed