lkml.org 
[lkml]   [2018]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] rtc: proc: printf using alarm for alrm
On 2018-12-07 04:38 AM, Alexandre Belloni wrote:
> On 06/12/2018 15:22:51+0800, yuankuiz@codeaurora.org wrote:
>> Hi,
>>
>> Kindly, this format change formats the rtc dump from:
>> alrm_time : 00:00:00
>> alrm_date : 1970-01-01
>> alarm_IRQ : no
>> alrm_pending : no
>>
>> to:
>> alarm time : 00:00:00
>> alarm date : 1970-01-01
>> alarm IRQ : no
>> alarm pending : no
>>
>
> Yes, and this would break the ABI as this file is in procfs. This is
> not
> something I'm willing to do, especially since this file has been
> deprecated since 2006.

OK. So shall we default it as n like:
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index a819ef0..c51f0e1 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -100,7 +100,7 @@ config RTC_INTF_SYSFS
config RTC_INTF_PROC
bool "/proc/driver/rtc (procfs for rtcN)"
depends on PROC_FS
- default RTC_CLASS
+ default n
help
Say yes here if you want to use your system clock RTC through
the proc interface, /proc/driver/rtc.

Thanks,
BR//John Zhao
\
 
 \ /
  Last update: 2018-12-10 11:01    [W:0.059 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site