[patch 1/1] usbmisc_imx: allow autoloading on according to dt ids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allow udev to autoload the module when booting with device-tree

Signed-off-by: Arnaud Patard <arnaud.patard@xxxxxxxxxxx>

Index: linux/drivers/usb/chipidea/usbmisc_imx.c
===================================================================
--- linux.orig/drivers/usb/chipidea/usbmisc_imx.c	2013-05-16 00:46:35.000000000 +0200
+++ linux/drivers/usb/chipidea/usbmisc_imx.c	2013-05-16 09:00:12.000000000 +0200
@@ -175,6 +175,7 @@ static const struct of_device_id usbmisc
 	},
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, usbmisc_imx_dt_ids);
 
 static int usbmisc_imx_probe(struct platform_device *pdev)
 {


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux