From 7d9fa0899e06a4d1b910621529de95d59b9eaf65 Mon Sep 17 00:00:00 2001 From: Mayank Rana Date: Fri, 4 Mar 2016 19:22:09 -0800 Subject: 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 --- include/linux/usb/usb_qdss.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/usb') 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 -- cgit v1.2.3