PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 2 Apr 2018 13:29:35 +0000 (18:59 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 18 May 2018 15:40:50 +0000 (16:40 +0100)
commitef1433f717a2c63747a519d86965d73ff9bd08b3
tree8b9c4ae16132f1695e70742c24b5e9ca0fc31b11
parentecc57efe9d0d958c8a3a43a4430bf19319e74728
PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry

In order to be able to provide correct driver_data for pci_epf device,
a separate configfs entry for each pci_epf_device_id table entry in
pci_epf_driver is required.

Add support to create configfs entry for each pci_epf_device_id
table entry here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
drivers/pci/endpoint/pci-epf-core.c
include/linux/pci-epf.h