From: Michael Grzeschik Date: Tue, 4 Apr 2017 14:41:54 +0000 (+0200) Subject: fsl_udc_core: add support for devices provided by fsl-mph-dr-of X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d7b2bff161cfa3fd53209b6a93d25e544aad8cc0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index b76fcdb763a0..6f2f71c054be 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++ b/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 */ }