#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/regulator/consumer.h>
#define DWC3_EXYNOS_MAX_CLOCKS …
struct dwc3_exynos_driverdata { … };
struct dwc3_exynos { … };
static int dwc3_exynos_probe(struct platform_device *pdev)
{ … }
static void dwc3_exynos_remove(struct platform_device *pdev)
{ … }
static const struct dwc3_exynos_driverdata exynos5250_drvdata = …;
static const struct dwc3_exynos_driverdata exynos5433_drvdata = …;
static const struct dwc3_exynos_driverdata exynos7_drvdata = …;
static const struct dwc3_exynos_driverdata exynos850_drvdata = …;
static const struct dwc3_exynos_driverdata gs101_drvdata = …;
static const struct of_device_id exynos_dwc3_match[] = …;
MODULE_DEVICE_TABLE(of, exynos_dwc3_match);
static int dwc3_exynos_suspend(struct device *dev)
{ … }
static int dwc3_exynos_resume(struct device *dev)
{ … }
static DEFINE_SIMPLE_DEV_PM_OPS(dwc3_exynos_dev_pm_ops,
dwc3_exynos_suspend, dwc3_exynos_resume);
static struct platform_driver dwc3_exynos_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;