clocksource: Select CLKSRC_MMIO where needed
authorArnd Bergmann <arnd@arndb.de>
Mon, 25 Jan 2016 16:02:49 +0000 (17:02 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 26 Jan 2016 15:26:07 +0000 (16:26 +0100)
commit2be6d9bfef53d185975b44fd808aece36595e83e
tree48834d185fdf82005553cc32270ffc4e60cee4d0
parent7809998ab1af22602a8463845108edc49dfb9ef0
clocksource: Select CLKSRC_MMIO where needed

The Tegra clocksource implementation uses the clocksource_mmio helper
functions, but currently can be configured without them, which fails:

drivers/clocksource/built-in.o: In function `tegra20_init_timer':
:(.init.text+0xac): undefined reference to `clocksource_mmio_init'
:(.init.text+0x140): undefined reference to `clocksource_mmio_readl_up'

The same problem exists for Digicolor:

drivers/clocksource/built-in.o: In function `digicolor_timer_init':
:(.init.text+0xfa): undefined reference to `clocksource_mmio_init'
:(.init.text+0x14c): undefined reference to `clocksource_mmio_readl_down'

I've inspected the Kconfig file to look for other cases that I have not
yet run into, and added an explicit 'select' to each one to ensure we
can successfully link the drivers.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/1453737776-1960372-1-git-send-email-arnd@arndb.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/Kconfig
This page took 0.025495 seconds and 5 git commands to generate.