From: INSUN PYO Date: Thu, 28 Jan 2021 04:07:15 +0000 (+0900) Subject: usb: disable usb_gadget and usb_client X-Git-Tag: submit/tizen/20210127.032903^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified;p=platform%2Fadaptation%2Fsamsung_exynos%2Fdevice-manager-plugin-odroid.git 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 --- 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