Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/drivers/usb/sunxi_usb/manager/usb_hcd_servers.c 2014-09-16 16:01:00.495919372 -0600
- +++ b/drivers/usb/sunxi_usb/manager/usb_hcd_servers.c 2014-09-16 16:03:18.635847399 -0600
- @@ -54,7 +54,7 @@
- int sw_usb_disable_hcd(__u32 usbc_no)
- {
- if (usbc_no == 0) {
- -#if defined(CONFIG_USB_SW_SUNXI_USB0_OTG) || defined(USB_SW_SUNXI_USB0_HOST_ONLY)
- +#if defined(CONFIG_USB_SW_SUNXI_USB0_OTG) || defined(CONFIG_USB_SW_SUNXI_USB0_HOST_ONLY)
- sw_usb_disable_hcd0();
- #endif
- } else if (usbc_no == 1 || usbc_no == 2) {
- @@ -113,7 +113,7 @@
- "usb_controller_type failed\n");
- if (usbc_no == 0) {
- -#if defined(CONFIG_USB_SW_SUNXI_USB0_OTG) || defined(USB_SW_SUNXI_USB0_HOST_ONLY)
- +#if defined(CONFIG_USB_SW_SUNXI_USB0_OTG) || defined(CONFIG_USB_SW_SUNXI_USB0_HOST_ONLY)
- sw_usb_enable_hcd0();
- #endif
- } else if (usbc_no == 1 || usbc_no == 2) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement