Commit 03c128c9 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Tom Rini

board: ti: remove duplicate initialization of vbus_id_status

vbus_id_status is initialized in board_usb_init. So remove it
while creating dwc3_device objects.
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 0a7ab045
......@@ -685,7 +685,6 @@ static struct dwc3_device usb_otg_ss1 = {
static struct dwc3_omap_device usb_otg_ss1_glue = {
.base = (void *)USB_OTG_SS1_GLUE_BASE,
.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
.vbus_id_status = OMAP_DWC3_VBUS_VALID,
.index = 0,
};
......@@ -704,7 +703,6 @@ static struct dwc3_device usb_otg_ss2 = {
static struct dwc3_omap_device usb_otg_ss2_glue = {
.base = (void *)USB_OTG_SS2_GLUE_BASE,
.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
.vbus_id_status = OMAP_DWC3_VBUS_VALID,
.index = 1,
};
......
......@@ -133,7 +133,6 @@ static struct dwc3_device usb_otg_ss1 = {
static struct dwc3_omap_device usb_otg_ss1_glue = {
.base = (void *)DRA7_USB_OTG_SS1_GLUE_BASE,
.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
.vbus_id_status = OMAP_DWC3_VBUS_VALID,
.index = 0,
};
......@@ -154,7 +153,6 @@ static struct dwc3_device usb_otg_ss2 = {
static struct dwc3_omap_device usb_otg_ss2_glue = {
.base = (void *)DRA7_USB_OTG_SS2_GLUE_BASE,
.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
.vbus_id_status = OMAP_DWC3_VBUS_VALID,
.index = 1,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment