summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2011-03-10 00:28:54 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-11 22:22:10 (GMT)
commitee398ba97dd76ed53bed548dec648d918af4004c (patch)
treed1c040f81ba5359a60d693235eb1974b50abc058 /include/linux/usb
parentd0781383038e983a63843a9a6a067ed781db89c1 (diff)
downloadlinux-fsl-qoriq-ee398ba97dd76ed53bed548dec648d918af4004c.tar.xz
usb: otg: Add ulpi viewport access ops
Add generic access ops for controllers with a ulpi viewport register (e.g. Chipidea/ARC based controllers). Signed-off-by: Benoit Goby <benoit@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/ulpi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/ulpi.h b/include/linux/usb/ulpi.h
index 82b1507..9595796 100644
--- a/include/linux/usb/ulpi.h
+++ b/include/linux/usb/ulpi.h
@@ -184,4 +184,9 @@
struct otg_transceiver *otg_ulpi_create(struct otg_io_access_ops *ops,
unsigned int flags);
+#ifdef CONFIG_USB_ULPI_VIEWPORT
+/* access ops for controllers with a viewport register */
+extern struct otg_io_access_ops ulpi_viewport_access_ops;
+#endif
+
#endif /* __LINUX_USB_ULPI_H */