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>
This commit is contained in:
parent
848d5b9121
commit
269b83dc9c
|
@ -175,6 +175,7 @@ static const struct of_device_id usbmisc_imx_dt_ids[] = {
|
||||||
},
|
},
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, usbmisc_imx_dt_ids);
|
||||||
|
|
||||||
static int usbmisc_imx_probe(struct platform_device *pdev)
|
static int usbmisc_imx_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue