diff options
author | Benoit Goby <benoit@android.com> | 2011-02-11 15:20:43 -0800 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2011-03-01 17:13:32 -0800 |
commit | 406248bb217d94ac012722534fb47885f52c0d07 (patch) | |
tree | ed68043e70b7c190c83c4bfb4b155cfd8d7d708d /include | |
parent | 54463de0ff7a0784acd786e412b774a8e9aac5f6 (diff) |
usb: otg: Add ulpi viewport access ops
Add generic access ops for controllers with a ulpi viewport register
(e.g. Chipidea based controller).
Change-Id: I53d50857d4716f8df708af199ad1def1ff9d4beb
Signed-off-by: Benoit Goby <benoit@android.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/ulpi.h | 5 |
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 */ |