#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/signal.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include "ohci.h"
#define DRIVER_DESC …
struct spear_ohci { … };
#define to_spear_ohci(hcd) …
static struct hc_driver __read_mostly ohci_spear_hc_driver;
static int spear_ohci_hcd_drv_probe(struct platform_device *pdev)
{ … }
static void spear_ohci_hcd_drv_remove(struct platform_device *pdev)
{ … }
#if defined(CONFIG_PM)
static int spear_ohci_hcd_drv_suspend(struct platform_device *pdev,
pm_message_t message)
{ … }
static int spear_ohci_hcd_drv_resume(struct platform_device *dev)
{ … }
#endif
static const struct of_device_id spear_ohci_id_table[] = …;
MODULE_DEVICE_TABLE(of, spear_ohci_id_table);
static struct platform_driver spear_ohci_hcd_driver = …;
static const struct ohci_driver_overrides spear_overrides __initconst = …;
static int __init ohci_spear_init(void)
{ … }
module_init(…) …;
static void __exit ohci_spear_cleanup(void)
{ … }
module_exit(ohci_spear_cleanup);
MODULE_DESCRIPTION(…);
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;