From 826a5286ce745617e757d175f1b7fd32d13e17be Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Thu, 14 Apr 2022 11:13:46 +0900 Subject: [PATCH] usb-gadget: relocate declarations of enum Move USB_FUNCTION_IDX_* from hal-api-device to deviced. Move USB_FUNCTION_* from hal-api-device to capi-system-device. Change-Id: Ia595e8e5c9fb73a7b108f0c1c850e9268e73ae48 Signed-off-by: Youngjae Cho --- include/usb-gadget.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/usb-gadget.h diff --git a/include/usb-gadget.h b/include/usb-gadget.h new file mode 100644 index 0000000..8617d97 --- /dev/null +++ b/include/usb-gadget.h @@ -0,0 +1,16 @@ +#ifndef __TIZEN_SYSTEM_USB_GADGET_H__ +#define __TIZEN_SYSTEM_USB_GADGET_H__ + +enum { + USB_FUNCTION_NONE = 0, + USB_FUNCTION_MTP = 0x1, + USB_FUNCTION_ACM = 0x2, + USB_FUNCTION_SDB = 0x4, + USB_FUNCTION_RNDIS = 0x8, + USB_FUNCTION_DIAG = 0x10, + USB_FUNCTION_CONN_GADGET = 0x20, + USB_FUNCTION_DM = 0x40, + USB_FUNCTION_RMNET = 0x80 +}; + +#endif __TIZEN_SYSTEM_USB_GADGET_H__ -- 2.7.4