diff options
| author | Hemant Kumar <hemantk@codeaurora.org> | 2016-02-01 15:24:38 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:03:02 -0700 |
| commit | 32787a91ff58ee29fb7e90dc7e6fc882671e885f (patch) | |
| tree | 595c9aef23ba11004987e225228dde80470722ac /include/linux/usb | |
| parent | 4d50aa3264dd65fb6e554392054422742eac22ac (diff) | |
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 <hemantk@codeaurora.org>
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/usbdiag.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 *)); |
