Jelajahi Sumber

fsl_udc_core: add support for devices provided by fsl-mph-dr-of

Currently the of glue code in fsl-mph-dr-of will create the platform
device fsl-usb2-udc. As this driver should also be probed by this name,
this patch adds it to the devtypes list.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Michael Grzeschik 8 tahun lalu
induk
melakukan
d7b2bff161
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      drivers/usb/gadget/udc/fsl_udc_core.c

+ 2 - 0
drivers/usb/gadget/udc/fsl_udc_core.c

@@ -2675,6 +2675,8 @@ static const struct platform_device_id fsl_udc_devtype[] = {
 		.name = "imx-udc-mx27",
 	}, {
 		.name = "imx-udc-mx51",
+	}, {
+		.name = "fsl-usb2-udc",
 	}, {
 		/* sentinel */
 	}