]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS v10: Change name of low voltage read and set macros.
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 23 Jan 2008 16:36:40 +0000 (17:36 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:33 +0000 (11:06 +0100)
arch/cris/arch-v10/drivers/ds1302.c

index 1d1936a18133d36376186baea9a1d76434f408dc..c9aa3904be05610f35425ced24c0a88a93383350 100644 (file)
@@ -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