]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/common/rtctime.c
[ARM] 5003/1: Shut up sparse warnings
[linux-2.6-omap-h63xx.git] / arch / arm / common / rtctime.c
index 4e5445cfb0ea696eff688baf7ecd364f9697fc80..f53bca46e23cadb5e35dd847173b5028a7ffa1c8 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/capability.h>
 #include <linux/device.h>
 #include <linux/mutex.h>
-#include <linux/rtc.h>
 
 #include <asm/rtc.h>
 #include <asm/semaphore.h>
@@ -329,7 +328,7 @@ static int rtc_fasync(int fd, struct file *file, int on)
        return fasync_helper(fd, file, on, &rtc_async_queue);
 }
 
-static struct file_operations rtc_fops = {
+static const struct file_operations rtc_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .read           = rtc_read,