Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213606
b: refs/heads/master
c: 748eee0
h: refs/heads/master
v: v3
  • Loading branch information
Grazvydas Ignotas authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 1251418 commit 40ff71c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7893afc035590383a14b176c1497cba984276ef4
refs/heads/master: 748eee0986f0d51c7bc39f194d515a8d8248ebdd
11 changes: 11 additions & 0 deletions trunk/include/linux/usb/otg.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,19 @@ otg_shutdown(struct otg_transceiver *otg)
}

/* for usb host and peripheral controller drivers */
#ifdef CONFIG_USB_OTG_UTILS
extern struct otg_transceiver *otg_get_transceiver(void);
extern void otg_put_transceiver(struct otg_transceiver *);
#else
static inline struct otg_transceiver *otg_get_transceiver(void)
{
return NULL;
}

static inline void otg_put_transceiver(struct otg_transceiver *x)
{
}
#endif

/* Context: can sleep */
static inline int
Expand Down

0 comments on commit 40ff71c

Please sign in to comment.