rtc: mips: default to rtc-cmos on mips
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Aug 2018 14:26:30 +0000 (16:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 8 Sep 2018 08:10:26 +0000 (10:10 +0200)
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>
arch/mips/Kconfig
drivers/char/Kconfig

index 3551199..c695825 100644 (file)
@@ -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
 
index ce277ee..131b4c3 100644 (file)
@@ -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