#include <linux/clk-provider.h>
#include <linux/pci.h>
#include <linux/dmi.h>
#include <linux/device.h>
#include <linux/of_irq.h>
#include "stmmac.h"
static int loongson_default_data(struct plat_stmmacenet_data *plat)
{ … }
static int loongson_dwmac_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void loongson_dwmac_remove(struct pci_dev *pdev)
{ … }
static int __maybe_unused loongson_dwmac_suspend(struct device *dev)
{ … }
static int __maybe_unused loongson_dwmac_resume(struct device *dev)
{ … }
static SIMPLE_DEV_PM_OPS(loongson_dwmac_pm_ops, loongson_dwmac_suspend,
loongson_dwmac_resume);
static const struct pci_device_id loongson_dwmac_id_table[] = …;
MODULE_DEVICE_TABLE(pci, loongson_dwmac_id_table);
static struct pci_driver loongson_dwmac_driver = …;
module_pci_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;