diff options
author | Arnd Bergmann | 2016-01-25 17:02:49 +0100 |
---|---|---|
committer | Thomas Gleixner | 2016-01-26 16:26:07 +0100 |
commit | 2be6d9bfef53d185975b44fd808aece36595e83e (patch) | |
tree | 48834d185fdf82005553cc32270ffc4e60cee4d0 /drivers/nvmem | |
parent | 7809998ab1af22602a8463845108edc49dfb9ef0 (diff) |
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>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions