Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 813296a1 authored by Niels de Vos's avatar Niels de Vos Committed by Wim Van Sebroeck
Browse files

watchdog: imx2_wdt: expose module alias for loading from device-tree



Enable auto loading by udev when imx2_wdt is compiled as a module.

Signed-off-by: default avatarNiels de Vos <ndevos@redhat.com>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 280103e6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -322,6 +322,7 @@ static const struct of_device_id imx2_wdt_dt_ids[] = {
	{ .compatible = "fsl,imx21-wdt", },
	{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx2_wdt_dt_ids);

static struct platform_driver imx2_wdt_driver = {
	.remove		= __exit_p(imx2_wdt_remove),