]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clocksource/drivers/npcm: select TIMER_OF
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Mar 2019 13:24:48 +0000 (14:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:41:21 +0000 (19:41 +0200)
commit6a414ef36840d77cb36307c25f689bb191b065da
treee5ea30951b1c531bddb7e3ab0278a751a3d20051
parent068d1cce780101aa9aac5486c9bcc98ed518567c
clocksource/drivers/npcm: select TIMER_OF

[ Upstream commit 99834eead2a04e93a120abb112542b87c42ff5e1 ]

When this is disabled, we get a link failure:

drivers/clocksource/timer-npcm7xx.o: In function `npcm7xx_timer_init':
timer-npcm7xx.c:(.init.text+0xf): undefined reference to `timer_of_init'

Fixes: 1c00289ecd12 ("clocksource/drivers/npcm: Add NPCM7xx timer driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clocksource/Kconfig