#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/jiffies.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 …
struct spear_ehci { … };
#define to_spear_ehci(hcd) …
static struct hc_driver __read_mostly ehci_spear_hc_driver;
static int __maybe_unused ehci_spear_drv_suspend(struct device *dev)
{ … }
static int __maybe_unused ehci_spear_drv_resume(struct device *dev)
{ … }
static SIMPLE_DEV_PM_OPS(ehci_spear_pm_ops, ehci_spear_drv_suspend,
ehci_spear_drv_resume);
static int spear_ehci_hcd_drv_probe(struct platform_device *pdev)
{ … }
static void spear_ehci_hcd_drv_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id spear_ehci_id_table[] = …;
MODULE_DEVICE_TABLE(of, spear_ehci_id_table);
static struct platform_driver spear_ehci_hcd_driver = …;
static const struct ehci_driver_overrides spear_overrides __initconst = …;
static int __init ehci_spear_init(void)
{ … }
module_init(…) …;
static void __exit ehci_spear_cleanup(void)
{ … }
module_exit(ehci_spear_cleanup);
MODULE_DESCRIPTION(…);
MODULE_ALIAS(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;