usb: disable usb_gadget and usb_client 27/252427/1 accepted/tizen_unified tizen accepted/tizen/unified/20210129.002226 submit/tizen/20210127.032903
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 28 Jan 2021 04:07:15 +0000 (13:07 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Thu, 28 Jan 2021 04:09:01 +0000 (13:09 +0900)
This hal is not used in tizen 6.5 but is built.
To remove build error, disable code.

Change-Id: I49a9359721792899ac2c8a17c97120f51e9ee2aa

hw/usb_cfs_client/usb_cfs_client.c
hw/usb_client/usb_client.c
hw/usb_gadget/usb_gadget.c

index 36da551..b5b31d8 100644 (file)
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+#if 0
 #include <hw/usb_client.h>
 
 HARDWARE_MODULE_STRUCTURE = {
@@ -27,3 +28,4 @@ HARDWARE_MODULE_STRUCTURE = {
        .open = hw_cfs_gadget_open,
        .close = hw_cfs_gadget_close,
 };
+#endif
index 5b4b61e..b7baa73 100644 (file)
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+#if 0
 #include <hw/usb_client.h>
 
 HARDWARE_MODULE_STRUCTURE = {
@@ -27,3 +28,4 @@ HARDWARE_MODULE_STRUCTURE = {
        .open = hw_legacy_gadget_open,
        .close = hw_legacy_gadget_close,
 };
+#endif
index 01bbc4e..88bd057 100644 (file)
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+#if 0
 #define _GNU_SOURCE
 #include <hw/usb_gadget.h>
 
@@ -28,3 +29,4 @@ HARDWARE_MODULE_STRUCTURE = {
        .open = simple_translator_open,
        .close = simple_translator_close,
 };
+#endif