diff options
Diffstat (limited to 'arch/arm/plat-omap/usb.c')
-rw-r--r-- | arch/arm/plat-omap/usb.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/arm/plat-omap/usb.c b/arch/arm/plat-omap/usb.c index 67ca1e216df7..add0485703b5 100644 --- a/arch/arm/plat-omap/usb.c +++ b/arch/arm/plat-omap/usb.c | |||
@@ -77,38 +77,6 @@ | |||
77 | 77 | ||
78 | /*-------------------------------------------------------------------------*/ | 78 | /*-------------------------------------------------------------------------*/ |
79 | 79 | ||
80 | #if defined(CONFIG_ARCH_OMAP_OTG) || defined(CONFIG_USB_MUSB_OTG) | ||
81 | |||
82 | static struct otg_transceiver *xceiv; | ||
83 | |||
84 | /** | ||
85 | * otg_get_transceiver - find the (single) OTG transceiver driver | ||
86 | * | ||
87 | * Returns the transceiver driver, after getting a refcount to it; or | ||
88 | * null if there is no such transceiver. The caller is responsible for | ||
89 | * releasing that count. | ||
90 | */ | ||
91 | struct otg_transceiver *otg_get_transceiver(void) | ||
92 | { | ||
93 | if (xceiv) | ||
94 | get_device(xceiv->dev); | ||
95 | return xceiv; | ||
96 | } | ||
97 | EXPORT_SYMBOL(otg_get_transceiver); | ||
98 | |||
99 | int otg_set_transceiver(struct otg_transceiver *x) | ||
100 | { | ||
101 | if (xceiv && x) | ||
102 | return -EBUSY; | ||
103 | xceiv = x; | ||
104 | return 0; | ||
105 | } | ||
106 | EXPORT_SYMBOL(otg_set_transceiver); | ||
107 | |||
108 | #endif | ||
109 | |||
110 | /*-------------------------------------------------------------------------*/ | ||
111 | |||
112 | #if defined(CONFIG_ARCH_OMAP_OTG) || defined(CONFIG_ARCH_OMAP15XX) | 80 | #if defined(CONFIG_ARCH_OMAP_OTG) || defined(CONFIG_ARCH_OMAP15XX) |
113 | 81 | ||
114 | static void omap2_usb_devconf_clear(u8 port, u32 mask) | 82 | static void omap2_usb_devconf_clear(u8 port, u32 mask) |