#include <linux/usb.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/usb/hcd.h>
#include <linux/usb/otg.h>
#include "isp1760-core.h"
#include "isp1760-regs.h"
#ifdef CONFIG_USB_PCI
#include <linux/pci.h>
#endif
#ifdef CONFIG_USB_PCI
static int isp1761_pci_init(struct pci_dev *dev)
{ … }
static int isp1761_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static void isp1761_pci_remove(struct pci_dev *dev)
{ … }
static void isp1761_pci_shutdown(struct pci_dev *dev)
{ … }
static const struct pci_device_id isp1760_plx[] = …;
MODULE_DEVICE_TABLE(pci, isp1760_plx);
static struct pci_driver isp1761_pci_driver = …;
#endif
static int isp1760_plat_probe(struct platform_device *pdev)
{ … }
static void isp1760_plat_remove(struct platform_device *pdev)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id isp1760_of_match[] = …;
MODULE_DEVICE_TABLE(of, isp1760_of_match);
#endif
static struct platform_driver isp1760_plat_driver = …;
static int __init isp1760_init(void)
{ … }
module_init(…) …;
static void __exit isp1760_exit(void)
{ … }
module_exit(isp1760_exit);