From 32787a91ff58ee29fb7e90dc7e6fc882671e885f Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Mon, 1 Feb 2016 15:24:38 -0800 Subject: usb: gadget: f_diag: Add support for configFS This change adds APIs to allocate and instanciate multi instance diag function driver using configFS. Add an entry in kconfig to select diag driver for configFS. Change-Id: I428631dc63643eddb075a09d0e46e1a6b1117f0e Signed-off-by: Hemant Kumar --- include/linux/usb/usbdiag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/usb/usbdiag.h b/include/linux/usb/usbdiag.h index 1be8e634fcda..1e9fa761579a 100644 --- a/include/linux/usb/usbdiag.h +++ b/include/linux/usb/usbdiag.h @@ -49,7 +49,7 @@ struct usb_diag_ch { void *priv_usb; }; -#ifdef CONFIG_USB_G_ANDROID +#ifdef CONFIG_USB_F_DIAG int usb_diag_request_size(struct usb_diag_ch *ch); struct usb_diag_ch *usb_diag_open(const char *name, void *priv, void (*notify)(void *, unsigned, struct diag_request *)); -- cgit v1.2.3