Thread (31 messages) 31 messages, 5 authors, 2016-05-29

Re: [PATCH v3 13/16] char/genrtc: remove powerpc support

From: Arnd Bergmann <arnd@arndb.de>
Date: 2016-04-28 09:40:36
Also in: linux-arch, linux-rtc, linux-sh, linuxppc-dev, lkml

On Thursday 28 April 2016 09:25:25 Geert Uytterhoeven wrote:
On Thu, Apr 28, 2016 at 12:34 AM, Arnd Bergmann [off-list ref] wrote:
quoted
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -321,6 +321,17 @@ config OF_RTC
          Uses information from the OF or flattened device tree to instantiate
          platform devices for direct mapped RTC chips like the DS1742 or DS1743.

+config GEN_RTC
+       bool "Use the platform RTC operations from user space"
+       select RTC_CLASS
+       select RTC_DRV_GENERIC
+       help
+         This option provides backwards compatibility with the old gen_rtc.ko
+         module that was traditionally used for old PowerPC machines.
+         Platforms should migrate to enabling the RTC_DRV_GENERIC by hand
+         replacing changing their get_rtc_time/set_rtc_time callbacks with
Drop "changing".
done, thanks!

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help