Browse Source

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 years ago
parent
commit
269b83dc9c
1 changed files with 1 additions and 0 deletions
  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)
 {