]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0e10244ef33b8ddd72bd21c5c8e1586f74a9957
tree2d4c6816883533735deffa785da2f8857ebcd657
parent5b9bd4d8f11c1adfa2ee1507c92dccec7a878029
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