diff options
author | Benoit Goby <benoit@android.com> | 2011-03-09 16:28:54 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-11 14:22:10 -0800 |
commit | ee398ba97dd76ed53bed548dec648d918af4004c (patch) | |
tree | d1c040f81ba5359a60d693235eb1974b50abc058 /include/linux/usb/ulpi.h | |
parent | d0781383038e983a63843a9a6a067ed781db89c1 (diff) |
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/ulpi.h')
-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 */ |