summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/usbmisc_imx.c
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2013-06-20 23:33:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-24 16:15:26 -0700
commit269b83dc9ce007efc4393e8a5b77f208a0e18e4a (patch)
treeafc758327d744def233225659bb069966f3672a0 /drivers/usb/chipidea/usbmisc_imx.c
parent848d5b9121e52f63847bf9e156f836db001f51c7 (diff)
downloadlinux-269b83dc9ce007efc4393e8a5b77f208a0e18e4a.tar.gz
linux-269b83dc9ce007efc4393e8a5b77f208a0e18e4a.tar.bz2
linux-269b83dc9ce007efc4393e8a5b77f208a0e18e4a.zip
usbmisc_imx: allow autoloading on according to dt ids
Allow udev to autoload the module when booting with device-tree Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/usbmisc_imx.c')
-rw-r--r--drivers/usb/chipidea/usbmisc_imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c
index 588bae8eef5e..c912e7b418f4 100644
--- a/drivers/usb/chipidea/usbmisc_imx.c
+++ b/drivers/usb/chipidea/usbmisc_imx.c
@@ -175,6 +175,7 @@ static const struct of_device_id usbmisc_imx_dt_ids[] = {
},
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, usbmisc_imx_dt_ids);
static int usbmisc_imx_probe(struct platform_device *pdev)
{