#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci-ecam.h>
#include <linux/platform_device.h>
static const struct pci_ecam_ops gen_pci_cfg_cam_bus_ops = …;
static bool pci_dw_valid_device(struct pci_bus *bus, unsigned int devfn)
{ … }
static void __iomem *pci_dw_ecam_map_bus(struct pci_bus *bus,
unsigned int devfn, int where)
{ … }
static const struct pci_ecam_ops pci_dw_ecam_bus_ops = …;
static const struct of_device_id gen_pci_of_match[] = …;
MODULE_DEVICE_TABLE(of, gen_pci_of_match);
static struct platform_driver gen_pci_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;