aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-01-23 11:41:46 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-01-24 18:45:29 +0100
commit3753941475ae6501dcd1e41832bd0e6c35247d6a (patch)
treea43b863ebb20c137398e40ca8cc4058d617e96f7 /drivers/rtc/Kconfig
parentbc7d8ebf37e725ec028e7699e6b497c96678d63a (diff)
downloadlinux-3753941475ae6501dcd1e41832bd0e6c35247d6a.tar.gz
rtc: sun6i: Disable the build as a module
Since we have to provide the clock very early on, the RTC driver cannot be built as a module. Make sure that won't happen. Cc: stable@vger.kernel.org Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 6d4ee1481867a..ee287cf63b011 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1434,7 +1434,7 @@ config RTC_DRV_SUN4V
based RTC on SUN4V systems.
config RTC_DRV_SUN6I
- tristate "Allwinner A31 RTC"
+ bool "Allwinner A31 RTC"
default MACH_SUN6I || MACH_SUN8I || COMPILE_TEST
depends on ARCH_SUNXI
help