diff --git a/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c b/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c index 964bb7ba05b5157834e591f7c2c09e8a81dbfd3e..fe5895dc9d09d2dea64a8ed1fda691765fe25e1a 100644 --- a/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c +++ b/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c @@ -866,7 +866,7 @@ int nu_usbh_register(void) RT_ASSERT(res == RT_EOK); /*initialize the usb host function */ - res = rt_usb_host_init(); + res = rt_usb_host_init("usbh"); RT_ASSERT(res == RT_EOK); #if defined(RT_USING_PM) diff --git a/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c b/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c index a5660ba32841480a70478faf58a4e702a9eb1ba5..85a1af96be5fdf83cb82e4552ee0f43bd7409c0f 100644 --- a/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c +++ b/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c @@ -942,7 +942,7 @@ int nu_usbh_register(void) /*initialize the usb host function */ - res = rt_usb_host_init(); + res = rt_usb_host_init("usbh"); RT_ASSERT(res == RT_EOK); #if defined(RT_USING_PM) diff --git a/components/drivers/usb/usbhost/core/driver.c b/components/drivers/usb/usbhost/core/driver.c index 102e38815408e2274306c62f60e4f9bab97c574a..73360d307a04f367365be9b791c6757df74a5d37 100644 --- a/components/drivers/usb/usbhost/core/driver.c +++ b/components/drivers/usb/usbhost/core/driver.c @@ -144,4 +144,4 @@ ucd_t rt_usbh_class_driver_find(int class_code, int subclass_code) /* not found */ return RT_NULL; -} \ No newline at end of file +} diff --git a/components/drivers/usb/usbhost/core/hub.c b/components/drivers/usb/usbhost/core/hub.c index bf48bc4c61e497f1ba473c3f77caee0e13633d20..eca06f65640242d3cd4e5c578975b91ba8a22b35 100644 --- a/components/drivers/usb/usbhost/core/hub.c +++ b/components/drivers/usb/usbhost/core/hub.c @@ -718,4 +718,4 @@ void rt_usbh_hub_init(uhcd_t hcd) /* startup usb host thread */ rt_thread_startup(thread); } -} \ No newline at end of file +} diff --git a/components/drivers/usb/usbhost/core/usbhost.c b/components/drivers/usb/usbhost/core/usbhost.c index 84b9640b760d8cdcbe032715925529fa5d46f3e4..9a4c166acd2f6023f9cd4c846e16e9e393d18bba 100644 --- a/components/drivers/usb/usbhost/core/usbhost.c +++ b/components/drivers/usb/usbhost/core/usbhost.c @@ -65,4 +65,4 @@ rt_err_t rt_usb_host_init(const char *name) rt_device_init(uhc); return RT_EOK; -} \ No newline at end of file +}