There are build errors on ext_vbus_io when the operational mode is
set to gadget only mode because it doesn't included by conditional
macro. In order to make including ext_vbus_io member for all
operational mode, this patch moves ext_vbus_io out of macro section.
Change-Id: Ib9a70c2a27cd6afd9969de422f3cbcbe80a2751d
Signed-off-by: Dongwoo <dwoo08.lee@samsung.com>
u32 hfnum_other_samples_b;
u64 hfnum_other_frrem_accum_b;
#endif
- u32 ext_vbus_io;
#endif /* CONFIG_USB_DWC2_HOST || CONFIG_USB_DWC2_DUAL_ROLE */
+ u32 ext_vbus_io;
+
#if IS_ENABLED(CONFIG_USB_DWC2_PERIPHERAL) || IS_ENABLED(CONFIG_USB_DWC2_DUAL_ROLE)
/* Gadget structures */
struct usb_gadget_driver *driver;