summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-08-28 16:26:30 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-09-08 10:10:26 +0200
commit05a0a34418699ea2ced1fe6e081b91c0e1065690 (patch)
tree28e6fdfd5caccd0ae922e53983b7326c47009b68
parentde96bc39951f106a074d5ee1db927ad8abbfe7fe (diff)
downloadlinux-stable-05a0a34418699ea2ced1fe6e081b91c0e1065690.tar.gz
linux-stable-05a0a34418699ea2ced1fe6e081b91c0e1065690.tar.bz2
linux-stable-05a0a34418699ea2ced1fe6e081b91c0e1065690.zip
rtc: mips: default to rtc-cmos on mips
The old rtc driver is getting in the way of some compat_ioctl simplification. Looking up the loongson64 git history, it seems that everyone uses the more modern but compatible RTC_CMOS driver anyway, so let's remove the special case for loongson64. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--arch/mips/Kconfig2
-rw-r--r--drivers/char/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 35511999156a..c695825d9377 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -75,7 +75,7 @@ config MIPS
select MODULES_USE_ELF_RELA if MODULES && 64BIT
select MODULES_USE_ELF_REL if MODULES
select PERF_USE_VMALLOC
- select RTC_LIB if !MACH_LOONGSON64
+ select RTC_LIB
select SYSCTL_EXCEPTION_TRACE
select VIRT_TO_BUS
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index ce277ee0a28a..131b4c300050 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -268,7 +268,7 @@ if RTC_LIB=n
config RTC
tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
- depends on ALPHA || (MIPS && MACH_LOONGSON64)
+ depends on ALPHA
---help---
If you say Y here and create a character special file /dev/rtc with
major number 10 and minor number 135 using mknod ("man mknod"), you