usb-gadget: relocate declarations of enum 96/273796/1
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 14 Apr 2022 02:13:46 +0000 (11:13 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 14 Apr 2022 02:13:46 +0000 (11:13 +0900)
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 <y0.cho@samsung.com>
include/usb-gadget.h [new file with mode: 0644]

diff --git a/include/usb-gadget.h b/include/usb-gadget.h
new file mode 100644 (file)
index 0000000..8617d97
--- /dev/null
@@ -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__