#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include "ehci.h"
#define DRIVER_DESC …
static struct hc_driver __read_mostly ehci_npcm7xx_hc_driver;
static int __maybe_unused ehci_npcm7xx_drv_suspend(struct device *dev)
{ … }
static int __maybe_unused ehci_npcm7xx_drv_resume(struct device *dev)
{ … }
static SIMPLE_DEV_PM_OPS(ehci_npcm7xx_pm_ops, ehci_npcm7xx_drv_suspend,
ehci_npcm7xx_drv_resume);
static int npcm7xx_ehci_hcd_drv_probe(struct platform_device *pdev)
{ … }
static void npcm7xx_ehci_hcd_drv_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id npcm7xx_ehci_id_table[] = …;
MODULE_DEVICE_TABLE(of, npcm7xx_ehci_id_table);
static struct platform_driver npcm7xx_ehci_hcd_driver = …;
static int __init ehci_npcm7xx_init(void)
{ … }
module_init(…) …;
static void __exit ehci_npcm7xx_cleanup(void)
{ … }
module_exit(ehci_npcm7xx_cleanup);
MODULE_DESCRIPTION(…);
MODULE_ALIAS(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;