summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDarius Augulis <augulis.darius@gmail.com>2008-11-13 00:38:31 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 21:00:11 +0300
commit2a4f136fbdcd89d44d83ed54df2c492a89f5ba9c (patch)
tree5e51cdbbe6024ba35e4fef3809a761f30d272942 /arch
parent856395d6e137b4e7194972cb7765f3de6a72ba61 (diff)
downloadlinux-2a4f136fbdcd89d44d83ed54df2c492a89f5ba9c.tar.xz
USB: add imx udc gadget driver
Implementation of USB device driver integrated in Freescale's i.MXL processor. Adds USB device driver for i.MXL. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-mxc/include/mach/usb.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/usb.h b/arch/arm/plat-mxc/include/mach/usb.h
new file mode 100644
index 000000000000..2dacb3086f1c
--- /dev/null
+++ b/arch/arm/plat-mxc/include/mach/usb.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2008 Darius Augulis <augulis.darius@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __ASM_ARCH_MXC_USB
+#define __ASM_ARCH_MXC_USB
+
+struct imxusb_platform_data {
+ int (*init)(struct device *);
+ int (*exit)(struct device *);
+};
+
+#endif /* __ASM_ARCH_MXC_USB */