PCI/portdrv: Merge pcieport_if.h into portdrv.h

pcieport_if.h contained the interfaces to register port service driver,
e.g., pcie_port_service_register().  portdrv.h contained internal data
structures of the port driver.

I don't think it's worth keeping those files separate, since both headers
and their users are all inside the PCI core.

Merge pcieport_if.h directly in drivers/pci/pcie/portdrv.h and update the
users to include that instead.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Bjorn Helgaas
2018-03-09 11:42:01 -06:00
parent c37e627f95
commit ef7942603e
10 changed files with 63 additions and 80 deletions

View File

@@ -23,7 +23,7 @@
#include <linux/mutex.h>
#include <linux/workqueue.h>
#include "../pcie/pcieport_if.h"
#include "../pcie/portdrv.h"
#define MY_NAME "pciehp"