From c38b377dac4ac3731022d8f5e9b7422be72c1e34 Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Thu, 28 Jan 2021 13:07:15 +0900 Subject: usb: disable usb_gadget and usb_client 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 | 2 ++ hw/usb_client/usb_client.c | 2 ++ hw/usb_gadget/usb_gadget.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/hw/usb_cfs_client/usb_cfs_client.c b/hw/usb_cfs_client/usb_cfs_client.c index 36da551..b5b31d8 100644 --- a/hw/usb_cfs_client/usb_cfs_client.c +++ b/hw/usb_cfs_client/usb_cfs_client.c @@ -16,6 +16,7 @@ * limitations under the License. */ +#if 0 #include HARDWARE_MODULE_STRUCTURE = { @@ -27,3 +28,4 @@ HARDWARE_MODULE_STRUCTURE = { .open = hw_cfs_gadget_open, .close = hw_cfs_gadget_close, }; +#endif diff --git a/hw/usb_client/usb_client.c b/hw/usb_client/usb_client.c index 5b4b61e..b7baa73 100644 --- a/hw/usb_client/usb_client.c +++ b/hw/usb_client/usb_client.c @@ -16,6 +16,7 @@ * limitations under the License. */ +#if 0 #include HARDWARE_MODULE_STRUCTURE = { @@ -27,3 +28,4 @@ HARDWARE_MODULE_STRUCTURE = { .open = hw_legacy_gadget_open, .close = hw_legacy_gadget_close, }; +#endif diff --git a/hw/usb_gadget/usb_gadget.c b/hw/usb_gadget/usb_gadget.c index 01bbc4e..88bd057 100644 --- a/hw/usb_gadget/usb_gadget.c +++ b/hw/usb_gadget/usb_gadget.c @@ -16,6 +16,7 @@ * limitations under the License. */ +#if 0 #define _GNU_SOURCE #include @@ -28,3 +29,4 @@ HARDWARE_MODULE_STRUCTURE = { .open = simple_translator_open, .close = simple_translator_close, }; +#endif -- cgit v1.2.3