summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2011-03-09 16:28:54 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-11 14:22:10 -0800
commitee398ba97dd76ed53bed548dec648d918af4004c (patch)
treed1c040f81ba5359a60d693235eb1974b50abc058 /include/linux/usb
parentd0781383038e983a63843a9a6a067ed781db89c1 (diff)
downloadlinux-stable-ee398ba97dd76ed53bed548dec648d918af4004c.tar.gz
linux-stable-ee398ba97dd76ed53bed548dec648d918af4004c.tar.bz2
linux-stable-ee398ba97dd76ed53bed548dec648d918af4004c.zip
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 82b1507f4735..9595796d62ed 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 */