]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fsl_udc_core: add support for devices provided by fsl-mph-dr-of
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 4 Apr 2017 14:41:54 +0000 (16:41 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:27 +0000 (10:58 +0300)
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>
drivers/usb/gadget/udc/fsl_udc_core.c

index b76fcdb763a0d27c5606e97807b18bf14e05ba9f..6f2f71c054be27f66cf56d56012aaf7332d2dad4 100644 (file)
@@ -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 */
        }