linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] rtc: mips: default to rtc-cmos on mips
@ 2018-08-28 14:26 Arnd Bergmann
  2018-08-28 14:26 ` [PATCH v2 2/2] rtc: move compat_ioctl handling into rtc-dev.c Arnd Bergmann
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Arnd Bergmann @ 2018-08-28 14:26 UTC (permalink / raw)
  To: linux-rtc
  Cc: a.zummo, alexandre.belloni, keguang.zhang, y2038, Arnd Bergmann,
	Ralf Baechle, Paul Burton, James Hogan, Greg Kroah-Hartman,
	Matt Redfearn, Zubair Lutfullah Kakakhel, linux-mips,
	linux-kernel

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>
---
 arch/mips/Kconfig    | 2 +-
 drivers/char/Kconfig | 2 +-
 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
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-08 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-28 14:26 [PATCH v2 1/2] rtc: mips: default to rtc-cmos on mips Arnd Bergmann
2018-08-28 14:26 ` [PATCH v2 2/2] rtc: move compat_ioctl handling into rtc-dev.c Arnd Bergmann
2018-09-08  8:17   ` Alexandre Belloni
2018-09-08 17:29     ` Arnd Bergmann
2018-08-28 16:39 ` [PATCH v2 1/2] rtc: mips: default to rtc-cmos on mips Paul Burton
2018-09-08  8:17 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).