Commit 177c20d7 authored by Nikita Shubin's avatar Nikita Shubin Committed by Arnd Bergmann
parent b3ab5787
......@@ -12,6 +12,7 @@
*/
#include <linux/platform_device.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/io.h>
......@@ -160,10 +161,17 @@ static int ts72xx_wdt_probe(struct platform_device *pdev)
return 0;
}
static const struct of_device_id ts72xx_wdt_of_ids[] = {
{ .compatible = "technologic,ts7200-wdt" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, ts72xx_wdt_of_ids);
static struct platform_driver ts72xx_wdt_driver = {
.probe = ts72xx_wdt_probe,
.driver = {
.name = "ts72xx-wdt",
.of_match_table = ts72xx_wdt_of_ids,
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment