projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
280103e
)
watchdog: imx2_wdt: expose module alias for loading from device-tree
author
Niels de Vos
<ndevos@redhat.com>
Mon, 29 Jul 2013 07:38:18 +0000
(09:38 +0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Sun, 17 Nov 2013 18:34:09 +0000
(19:34 +0100)
Enable auto loading by udev when imx2_wdt is compiled as a module.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imx2_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/imx2_wdt.c
b/drivers/watchdog/imx2_wdt.c
index 693ac3f4de5aaba92d2a2a7f7004be468b1b0b77..17680aa6cb325d6cb23b1191a7bb4003260ac5d6 100644
(file)
--- a/
drivers/watchdog/imx2_wdt.c
+++ b/
drivers/watchdog/imx2_wdt.c
@@
-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),