projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: nop-usb-xceiv: behave when linked as a module
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
usb
/
otg.h
diff --git
a/include/linux/usb/otg.h
b/include/linux/usb/otg.h
index 1aaa826396a1462555925b871f22f95ff8870299..2443c0e7a80cd5e25ca77d217a0f5abbd2c1151e 100644
(file)
--- a/
include/linux/usb/otg.h
+++ b/
include/linux/usb/otg.h
@@
-80,10
+80,10
@@
struct otg_transceiver {
/* for board-specific init logic */
extern int otg_set_transceiver(struct otg_transceiver *);
/* for board-specific init logic */
extern int otg_set_transceiver(struct otg_transceiver *);
-#ifdef CONFIG_NOP_USB_XCEIV
+
+/* sometimes transceivers are accessed only through e.g. ULPI */
extern void usb_nop_xceiv_register(void);
extern void usb_nop_xceiv_unregister(void);
extern void usb_nop_xceiv_register(void);
extern void usb_nop_xceiv_unregister(void);
-#endif
/* for usb host and peripheral controller drivers */
/* for usb host and peripheral controller drivers */