From: Youngjae Cho Date: Thu, 14 Apr 2022 02:13:46 +0000 (+0900) Subject: usb-gadget: relocate declarations of enum X-Git-Tag: accepted/tizen/unified/20220505.134715~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=826a5286ce745617e757d175f1b7fd32d13e17be;p=platform%2Fcore%2Fapi%2Fdevice.git 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 --- 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__