linux/drivers/usb/cdns3/cdnsp-pci.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Cadence PCI Glue driver.
 *
 * Copyright (C) 2019 Cadence.
 *
 * Author: Pawel Laszczak <[email protected]>
 *
 */

#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/pci.h>

#include "core.h"
#include "gadget-export.h"

#define PCI_BAR_HOST
#define PCI_BAR_OTG
#define PCI_BAR_DEV

#define PCI_DEV_FN_HOST_DEVICE
#define PCI_DEV_FN_OTG

#define PCI_DRIVER_NAME
#define PLAT_DRIVER_NAME

#define CDNS_VENDOR_ID
#define CDNS_DEVICE_ID
#define CDNS_DRD_ID
#define CDNS_DRD_IF

static struct pci_dev *cdnsp_get_second_fun(struct pci_dev *pdev)
{}

static int cdnsp_pci_probe(struct pci_dev *pdev,
			   const struct pci_device_id *id)
{}

static void cdnsp_pci_remove(struct pci_dev *pdev)
{}

static int __maybe_unused cdnsp_pci_suspend(struct device *dev)
{}

static int __maybe_unused cdnsp_pci_resume(struct device *dev)
{}

static const struct dev_pm_ops cdnsp_pci_pm_ops =;

static const struct pci_device_id cdnsp_pci_ids[] =;

static struct pci_driver cdnsp_pci_driver =;

module_pci_driver();
MODULE_DEVICE_TABLE(pci, cdnsp_pci_ids);

MODULE_ALIAS();
MODULE_AUTHOR();
MODULE_LICENSE();
MODULE_DESCRIPTION();