Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/watchdog/im28wd.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/watchdog/im28wd.c b/drivers/watchdog/im28wd.c index 2b233ede20..6ebd97e5f5 100644 --- a/drivers/watchdog/im28wd.c +++ b/drivers/watchdog/im28wd.c @@ -229,9 +229,18 @@ static void imx28_wd_remove(struct device_d *dev) free(priv); } +static __maybe_unused struct of_device_id imx28_wdt_dt_ids[] = { + { + .compatible = "fsl,stmp3xxx-rtc", + }, { + /* sentinel */ + } +}; + static struct driver_d imx28_wd_driver = { .name = "im28wd", .probe = imx28_wd_probe, .remove = imx28_wd_remove, + .of_compatible = DRV_OF_COMPAT(imx28_wdt_dt_ids), }; device_platform_driver(imx28_wd_driver); -- 2.26.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox