diff options
| author | Mayank Rana <mrana@codeaurora.org> | 2016-03-04 19:22:09 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:23:33 -0700 |
| commit | 7d9fa0899e06a4d1b910621529de95d59b9eaf65 (patch) | |
| tree | 69d6f266b04b9ca173991866b65a5b1f69d0b388 /include/linux | |
| parent | 395af0817263a899345940a88de86ed59c9682ca (diff) | |
usb: gadget: qdss: Modify to support configfs usage
- This change adds configfs usage with USB QDSS driver.
- It removes all different supported control and data transports
and assume BAM2BAM as default mode.
- It also removes supported DPL functionality from this driver.
Change-Id: I9678c9e9a397445f36272616e517bbb83a59e88a
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/usb_qdss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/usb_qdss.h b/include/linux/usb/usb_qdss.h index 8ce293ecf9dd..e01e6781eb21 100644 --- a/include/linux/usb/usb_qdss.h +++ b/include/linux/usb/usb_qdss.h @@ -41,7 +41,7 @@ enum qdss_state { USB_QDSS_CTRL_WRITE_DONE, }; -#ifdef CONFIG_USB_G_ANDROID +#if IS_ENABLED(CONFIG_USB_F_QDSS) struct usb_qdss_ch *usb_qdss_open(const char *name, void *priv, void (*notify)(void *, unsigned, struct qdss_request *, struct usb_qdss_ch *)); @@ -89,6 +89,6 @@ static inline int usb_qdss_alloc_req(struct usb_qdss_ch *c, int n_wr, int n_rd) static inline void usb_qdss_close(struct usb_qdss_ch *ch) { } static inline void usb_qdss_free_req(struct usb_qdss_ch *ch) { } -#endif +#endif /* CONFIG_USB_F_QDSS */ #endif |
