#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/hrtimer.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/reset.h>
#include <linux/usb/ohci_pdriver.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include "ohci.h"
#define USB_MAX_CLKS …
struct st_ohci_platform_priv { … };
#define DRIVER_DESC …
#define hcd_to_ohci_priv(h) …
static int st_ohci_platform_power_on(struct platform_device *dev)
{ … }
static void st_ohci_platform_power_off(struct platform_device *dev)
{ … }
static struct hc_driver __read_mostly ohci_platform_hc_driver;
static const struct ohci_driver_overrides platform_overrides __initconst = …;
static struct usb_ohci_pdata ohci_platform_defaults = …;
static int st_ohci_platform_probe(struct platform_device *dev)
{ … }
static void st_ohci_platform_remove(struct platform_device *dev)
{ … }
#ifdef CONFIG_PM_SLEEP
static int st_ohci_suspend(struct device *dev)
{ … }
static int st_ohci_resume(struct device *dev)
{ … }
static SIMPLE_DEV_PM_OPS(st_ohci_pm_ops, st_ohci_suspend, st_ohci_resume);
#endif
static const struct of_device_id st_ohci_platform_ids[] = …;
MODULE_DEVICE_TABLE(of, st_ohci_platform_ids);
static struct platform_driver ohci_platform_driver = …;
static int __init ohci_platform_init(void)
{ … }
module_init(…) …;
static void __exit ohci_platform_cleanup(void)
{ … }
module_exit(ohci_platform_cleanup);
MODULE_DESCRIPTION(…);
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;