diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-03-12 08:31:48 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-12 08:31:48 +0000 |
commit | b9b36e3f50bfc80fa6ed2f991532eba1a567ee72 (patch) | |
tree | abed4875258dc761381a5fdcfa672d17ca7fa809 /drivers/rtc | |
parent | 23a9724aa61f4feac3f107aa6ca08564e58ba917 (diff) | |
parent | 616f5ef61338a53e997eebbe2c13b21c40df9b86 (diff) |
rtc: sun6i: Disable the build as a module
am: 616f5ef613
Change-Id: I7f17fb49e3d082d70e517ac5fab7cef891c0a08f
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-sun6i.c | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index e859d148aba9..0723c97ebea3 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1432,7 +1432,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 diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c index c169a2cd4727..a6136cb99851 100644 --- a/drivers/rtc/rtc-sun6i.c +++ b/drivers/rtc/rtc-sun6i.c @@ -439,9 +439,4 @@ static struct platform_driver sun6i_rtc_driver = { .of_match_table = sun6i_rtc_dt_ids, }, }; - -module_platform_driver(sun6i_rtc_driver); - -MODULE_DESCRIPTION("sun6i RTC driver"); -MODULE_AUTHOR("Chen-Yu Tsai <wens@csie.org>"); -MODULE_LICENSE("GPL"); +builtin_platform_driver(sun6i_rtc_driver); |