diff options
author | 2012-09-14 11:35:16 -0600 | |
---|---|---|
committer | 2012-09-14 11:35:16 -0600 | |
commit | fef40b2369a4ececa16b4d02b625e45252fe5d0a (patch) | |
tree | 22445e45f0882630e410b89e2a26fd3e9ba9c30b /include/linux/usb/nop-usb-xceiv.h | |
parent | Merge branch 'for-3.7/common-clk' into for-3.7/cleanup2 (diff) | |
parent | usb: otg: mxs-phy: Fix mx23 operation (diff) | |
download | linux-dev-fef40b2369a4ececa16b4d02b625e45252fe5d0a.tar.xz linux-dev-fef40b2369a4ececa16b4d02b625e45252fe5d0a.zip |
Merge commit 'xceiv-for-v3.7' into for-3.7/cleanup2
Diffstat (limited to 'include/linux/usb/nop-usb-xceiv.h')
-rw-r--r-- | include/linux/usb/nop-usb-xceiv.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/usb/nop-usb-xceiv.h b/include/linux/usb/nop-usb-xceiv.h new file mode 100644 index 000000000000..28884c717411 --- /dev/null +++ b/include/linux/usb/nop-usb-xceiv.h @@ -0,0 +1,24 @@ +#ifndef __LINUX_USB_NOP_XCEIV_H +#define __LINUX_USB_NOP_XCEIV_H + +#include <linux/usb/otg.h> + +struct nop_usb_xceiv_platform_data { + enum usb_phy_type type; +}; + +#if defined(CONFIG_NOP_USB_XCEIV) || (defined(CONFIG_NOP_USB_XCEIV_MODULE) && defined(MODULE)) +/* sometimes transceivers are accessed only through e.g. ULPI */ +extern void usb_nop_xceiv_register(void); +extern void usb_nop_xceiv_unregister(void); +#else +static inline void usb_nop_xceiv_register(void) +{ +} + +static inline void usb_nop_xceiv_unregister(void) +{ +} +#endif + +#endif /* __LINUX_USB_NOP_XCEIV_H */ |