diff --git a/drivers/clocksource/mvebu.c b/drivers/clocksource/mvebu.c index 6bd83f7..e0c85ed 100644 --- a/drivers/clocksource/mvebu.c +++ b/drivers/clocksource/mvebu.c @@ -77,9 +77,15 @@ return 0; } +static struct of_device_id mvebu_timer_dt_ids[] = { + { .compatible = "marvell,armada-370-xp-timer", }, + { } +}; + static struct driver_d mvebu_timer_driver = { .name = "mvebu-timer", .probe = mvebu_timer_probe, + .of_compatible = DRV_OF_COMPAT(mvebu_timer_dt_ids), }; static int mvebu_timer_init(void)