浏览代码

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>
Arnaud Patard (Rtp) 12 年之前
父节点
当前提交
269b83dc9c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/usb/chipidea/usbmisc_imx.c

+ 1 - 0
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)
 {