From: Ihor Dutchak Date: Fri, 21 May 2021 12:32:24 +0000 (+0300) Subject: doc: correction of LIBUSB_OPTION_WEAK_AUTHORITY availability X-Git-Tag: upstream/1.0.25~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4e9c6de5eae886b2e78b58af9a9021e9caa1d86;p=platform%2Fupstream%2Flibusb.git doc: correction of LIBUSB_OPTION_WEAK_AUTHORITY availability Even though its implementation is in linux/usbfs, in fact it is under `ifdef` and only used by Android builds. Closes #916 Signed-off-by: Nathan Hjelm --- diff --git a/libusb/libusb.h b/libusb/libusb.h index d2dfa20..57ca58f 100644 --- a/libusb/libusb.h +++ b/libusb/libusb.h @@ -2102,10 +2102,10 @@ enum libusb_option { * scan devices in libusb_init. * * This option should be set before calling libusb_init(), otherwise - * libusb_init will failed. Normally libusb_wrap_sys_device need set - * this option. + * libusb_init will failed. Normally libusb_wrap_sys_device on Android + * need set this option. * - * Only valid on Linux-based operating system, such as Android. + * Only valid for Android builds. */ LIBUSB_OPTION_WEAK_AUTHORITY = 2 }; diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 9db83c0..d44ba57 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11618 +#define LIBUSB_NANO 11619