PCI: endpoint: Add the function number as argument to EPC ops
authorCyrille Pitchen <cyrille.pitchen@free-electrons.com>
Tue, 30 Jan 2018 20:56:56 +0000 (21:56 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 31 Jan 2018 11:10:41 +0000 (11:10 +0000)
commit4494738de0d9dc79343fba7c8a57235e684fc549
tree2d4c6816883533735deffa785da2f8857ebcd657
parent1b79c5284439ac1a8f45aa62cf518714436fad5f
PCI: endpoint: Add the function number as argument to EPC ops

This patch updates the prototype of most handlers from 'struct
pci_epc_ops' so the EPC library can now support multi-function devices.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@free-electrons.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/dwc/pcie-designware-ep.c
drivers/pci/endpoint/functions/pci-epf-test.c
drivers/pci/endpoint/pci-epc-core.c
include/linux/pci-epc.h