diff options
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/bcm_kona_timer.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/clocksource/bcm_kona_timer.c b/drivers/clocksource/bcm_kona_timer.c index ba3d85904c9a..0d7d8c3ed6b2 100644 --- a/drivers/clocksource/bcm_kona_timer.c +++ b/drivers/clocksource/bcm_kona_timer.c | |||
@@ -99,7 +99,8 @@ kona_timer_get_counter(void *timer_base, uint32_t *msw, uint32_t *lsw) | |||
99 | } | 99 | } |
100 | 100 | ||
101 | static const struct of_device_id bcm_timer_ids[] __initconst = { | 101 | static const struct of_device_id bcm_timer_ids[] __initconst = { |
102 | {.compatible = "bcm,kona-timer"}, | 102 | {.compatible = "brcm,kona-timer"}, |
103 | {.compatible = "bcm,kona-timer"}, /* deprecated name */ | ||
103 | {}, | 104 | {}, |
104 | }; | 105 | }; |
105 | 106 | ||
@@ -201,4 +202,9 @@ static void __init kona_timer_init(struct device_node *node) | |||
201 | kona_timer_set_next_event((arch_timer_rate / HZ), NULL); | 202 | kona_timer_set_next_event((arch_timer_rate / HZ), NULL); |
202 | } | 203 | } |
203 | 204 | ||
205 | CLOCKSOURCE_OF_DECLARE(brcm_kona, "brcm,kona-timer", kona_timer_init); | ||
206 | /* | ||
207 | * bcm,kona-timer is deprecated by brcm,kona-timer | ||
208 | * being kept here for driver compatibility | ||
209 | */ | ||
204 | CLOCKSOURCE_OF_DECLARE(bcm_kona, "bcm,kona-timer", kona_timer_init); | 210 | CLOCKSOURCE_OF_DECLARE(bcm_kona, "bcm,kona-timer", kona_timer_init); |