diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2017-04-04 16:41:54 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-04-11 10:58:27 +0300 |
commit | d7b2bff161cfa3fd53209b6a93d25e544aad8cc0 (patch) | |
tree | dfa5b1e9069964035042a465fd924d2848ffa40a /drivers/usb/gadget | |
parent | b5c7ed5cca82991335ae3a66428a791acc8aa7e9 (diff) | |
download | linux-d7b2bff161cfa3fd53209b6a93d25e544aad8cc0.tar.gz linux-d7b2bff161cfa3fd53209b6a93d25e544aad8cc0.tar.bz2 linux-d7b2bff161cfa3fd53209b6a93d25e544aad8cc0.zip |
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/udc/fsl_udc_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ -2676,6 +2676,8 @@ static const struct platform_device_id fsl_udc_devtype[] = { }, { .name = "imx-udc-mx51", }, { + .name = "fsl-usb2-udc", + }, { /* sentinel */ } }; |