diff options
author | Arnd Bergmann | 2021-01-03 14:59:24 +0100 |
---|---|---|
committer | Daniel Lezcano | 2021-01-18 16:20:15 +0100 |
commit | 7a3b8758bd6e45f7b671723b5c9fa2b69d0787ae (patch) | |
tree | 39c1642bd4bdbb88c4f38da6c8ea47a6f86e7d8d /drivers/rtc/rtc-msm6242.c | |
parent | e3fab2f3de081e98c50b7b4ace1b040161d95310 (diff) |
clocksource/drivers/ixp4xx: Select TIMER_OF when needed
Compile-testing the ixp4xx timer with CONFIG_OF enabled but
CONFIG_TIMER_OF disabled leads to a harmless warning:
arm-linux-gnueabi-ld: warning: orphan section `__timer_of_table' from `drivers/clocksource/timer-ixp4xx.o' being placed in section `__timer_of_table'
Move the select statement from the platform code into the driver
so it always gets enabled in configurations that rely on it.
Fixes: 40df14cc5cc0 ("clocksource/drivers/ixp4xx: Add OF initialization support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210103135955.3808976-1-arnd@kernel.org
Diffstat (limited to 'drivers/rtc/rtc-msm6242.c')
0 files changed, 0 insertions, 0 deletions