PCI: endpoint: Fix EPF device name to support multi-function devices
authorCyrille Pitchen <cyrille.pitchen@free-electrons.com>
Tue, 30 Jan 2018 20:56:57 +0000 (21:56 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 31 Jan 2018 11:10:47 +0000 (11:10 +0000)
commitfc41df28f89e9d93deb4f0930cb0fb7eec26e5b4
treedb7775b28dbbdfe406437bd9062e45cd36065b97
parent4494738de0d9dc79343fba7c8a57235e684fc549
PCI: endpoint: Fix EPF device name to support multi-function devices

Fix the pci_epf_make() function so it can now bind many EPF devices to the
same EPF driver.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@free-electrons.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/endpoint/pci-ep-cfs.c