kernel: bump 4.14 to 4.14.206
[openwrt/openwrt.git] / target / linux / cns3xxx / patches-4.14 / 210-dwc2_defaults.patch
index 67f152f43de1f7f57cdf998c3ff038a0af439045..36c7fe0fe99185eb8580f1a223e4f5f319af3de0 100644 (file)
  const struct of_device_id dwc2_of_match_table[] = {
        { .compatible = "brcm,bcm2835-usb", .data = dwc2_set_bcm_params },
        { .compatible = "hisilicon,hi6220-usb", .data = dwc2_set_his_params  },
-@@ -710,17 +740,23 @@ int dwc2_get_hwparams(struct dwc2_hsotg
+@@ -710,18 +740,23 @@ int dwc2_get_hwparams(struct dwc2_hsotg
  
  int dwc2_init_params(struct dwc2_hsotg *hsotg)
  {
 +      /*
        const struct of_device_id *match;
-       void (*set_params)(void *data);
+       void (*set_params)(struct dwc2_hsotg *data);
 +      */
  
        dwc2_set_default_params(hsotg);
@@ -56,8 +56,8 @@
                set_params(hsotg);
        }
 +      */
-+
-+      dwc2_set_cns3xxx_params(hsotg);
  
++      dwc2_set_cns3xxx_params(hsotg);
        dwc2_check_params(hsotg);
  
+       return 0;