summaryrefslogtreecommitdiff
path: root/arch/cris/arch-v10/drivers/ds1302.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/arch-v10/drivers/ds1302.c')
-rw-r--r--arch/cris/arch-v10/drivers/ds1302.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v10/drivers/ds1302.c b/arch/cris/arch-v10/drivers/ds1302.c
index 1d1936a1813..c9aa3904be0 100644
--- a/arch/cris/arch-v10/drivers/ds1302.c
+++ b/arch/cris/arch-v10/drivers/ds1302.c
@@ -333,7 +333,7 @@ rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
ds1302_writereg(RTC_TRICKLECHARGER, tcs_val);
return 0;
}
- case RTC_VLOW_RD:
+ case RTC_VL_READ:
{
/* TODO:
* Implement voltage low detection support
@@ -342,7 +342,7 @@ rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
" is not supported\n");
return 0;
}
- case RTC_VLOW_SET:
+ case RTC_VL_CLR:
{
/* TODO:
* Nothing to do since Voltage Low detection is not supported