aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2012-05-29 15:07:36 -0700
committerLinus Torvalds <[email protected]>2012-05-29 16:22:33 -0700
commite311c9295912209dcf8e54de5401f8518112b7f8 (patch)
treee1016bbb7d43aa6086ea0ee5d1935b309d43d81c /scripts/patch-kernel
parent84d56b38b9abd36565f74cbf68501cee6206761e (diff)
rtc: add ioctl to get/clear battery low voltage status
Currently there is no generic way to get the RTC battery status within an application. So add an ioctl to read the status bit. The idea is that the bit is set once a low voltage is detected. It stays there until it is reset using the RTC_VL_CLR ioctl. Signed-off-by: Alexander Stein <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions