#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/mmc/mmc.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include "cavium.h"
static void thunder_mmc_acquire_bus(struct cvm_mmc_host *host)
{ … }
static void thunder_mmc_release_bus(struct cvm_mmc_host *host)
{ … }
static void thunder_mmc_int_enable(struct cvm_mmc_host *host, u64 val)
{ … }
static int thunder_mmc_register_interrupts(struct cvm_mmc_host *host,
struct pci_dev *pdev)
{ … }
static int thunder_mmc_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{ … }
static void thunder_mmc_remove(struct pci_dev *pdev)
{ … }
static const struct pci_device_id thunder_mmc_id_table[] = …;
static struct pci_driver thunder_mmc_driver = …;
module_pci_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_DEVICE_TABLE(pci, thunder_mmc_id_table);