summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-23 17:36:40 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:06:33 +0100
commit8f2972529f354fec0fa1341d08074d328f748d8c (patch)
treeeb4bd4f0a2b745ea944a08ffa7a379e4dcdda93a /arch/cris
parenta9d13fad8c72215f8a6c95af81c354547cf4bd64 (diff)
downloadop-kernel-dev-8f2972529f354fec0fa1341d08074d328f748d8c.zip
op-kernel-dev-8f2972529f354fec0fa1341d08074d328f748d8c.tar.gz
CRIS v10: Change name of low voltage read and set macros.
Diffstat (limited to 'arch/cris')
-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 1d1936a..c9aa390 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
OpenPOWER on IntegriCloud