diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-06-06 23:07:51 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-06-26 18:32:04 +0200 |
commit | 239751edad27d4fae964fb1f4ca1fedd742c8365 (patch) | |
tree | 53ade1523c701cb8cd3233f6a12320e774cc6474 /drivers/clocksource/Kconfig | |
parent | 22ece4e3df6335e691207de1198a609e761b8640 (diff) | |
download | linux-239751edad27d4fae964fb1f4ca1fedd742c8365.tar.gz linux-239751edad27d4fae964fb1f4ca1fedd742c8365.tar.bz2 linux-239751edad27d4fae964fb1f4ca1fedd742c8365.zip |
clocksource/drivers/sun4i: Switch to the timer-of common init
Previously a framework to factor out the drivers init function has been
merged.
Use this common framework in this driver, we get:
Before:
text data bss dec hex filename
1787 384 12 2183 887 drivers/clocksource/sun4i_timer.o
After:
text data bss dec hex filename
1407 512 0 1919 77f drivers/clocksource/sun4i_timer.o
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r-- | drivers/clocksource/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 4be163bca8a8..88818a43d6e9 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -108,6 +108,7 @@ config SUN4I_TIMER depends on GENERIC_CLOCKEVENTS depends on HAS_IOMEM select CLKSRC_MMIO + select TIMER_OF help Enables support for the Sun4i timer. |