linux/drivers/usb/host/ohci-platform.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Generic platform ohci driver
 *
 * Copyright 2007 Michael Buesch <[email protected]>
 * Copyright 2011-2012 Hauke Mehrtens <[email protected]>
 * Copyright 2014 Hans de Goede <[email protected]>
 *
 * Derived from the OCHI-SSB driver
 * Derived from the OHCI-PCI driver
 * Copyright 1999 Roman Weissgaerber
 * Copyright 2000-2002 David Brownell
 * Copyright 1999 Linus Torvalds
 * Copyright 1999 Gregory P. Smith
 */

#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/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/reset.h>
#include <linux/usb/ohci_pdriver.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/usb/of.h>

#include "ohci.h"

#define DRIVER_DESC
#define OHCI_MAX_CLKS
#define hcd_to_ohci_priv(h)

struct ohci_platform_priv {};

static int ohci_platform_power_on(struct platform_device *dev)
{}

static void 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 ohci_platform_probe(struct platform_device *dev)
{}

static void ohci_platform_remove(struct platform_device *dev)
{}

#ifdef CONFIG_PM_SLEEP
static int ohci_platform_suspend(struct device *dev)
{}

static int ohci_platform_resume_common(struct device *dev, bool hibernated)
{}

static int ohci_platform_resume(struct device *dev)
{}

static int ohci_platform_restore(struct device *dev)
{}
#endif /* CONFIG_PM_SLEEP */

static const struct of_device_id ohci_platform_ids[] =;
MODULE_DEVICE_TABLE(of, ohci_platform_ids);

static const struct platform_device_id ohci_platform_table[] =;
MODULE_DEVICE_TABLE(platform, ohci_platform_table);

#ifdef CONFIG_PM_SLEEP
static const struct dev_pm_ops ohci_platform_pm_ops =;
#endif

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_AUTHOR();
MODULE_LICENSE();