linux/drivers/pci/controller/pci-host-generic.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Simple, generic PCI host controller driver targeting firmware-initialised
 * systems and virtual machines (e.g. the PCI emulation provided by kvmtool).
 *
 * Copyright (C) 2014 ARM Limited
 *
 * Author: Will Deacon <[email protected]>
 */

#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();