From: Jonathan Neuschäfer Date: Sat, 20 Mar 2021 18:16:06 +0000 (+0100) Subject: clocksource/drivers/npcm: Add support for WPCM450 X-Git-Tag: io_uring-5.13-2021-05-07~101^2~4^2~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=690daddcb60246d8a510aaad7b954bcc53eba17e;p=linux-2.6-block.git clocksource/drivers/npcm: Add support for WPCM450 Add a compatible string for WPCM450, which has essentially the same timer controller. Signed-off-by: Jonathan Neuschäfer Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20210320181610.680870-11-j.neuschaefer@gmx.net --- diff --git a/drivers/clocksource/timer-npcm7xx.c b/drivers/clocksource/timer-npcm7xx.c index 9780ffd8010e..a00520cbb660 100644 --- a/drivers/clocksource/timer-npcm7xx.c +++ b/drivers/clocksource/timer-npcm7xx.c @@ -208,5 +208,6 @@ static int __init npcm7xx_timer_init(struct device_node *np) return 0; } +TIMER_OF_DECLARE(wpcm450, "nuvoton,wpcm450-timer", npcm7xx_timer_init); TIMER_OF_DECLARE(npcm7xx, "nuvoton,npcm750-timer", npcm7xx_timer_init);