linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / char / ds1302.c
index bcdb107..a75e860 100644 (file)
@@ -12,6 +12,7 @@
 *!
 *!***************************************************************************/
 
+#include <linux/config.h>
 
 #include <linux/fs.h>
 #include <linux/init.h>
@@ -282,7 +283,7 @@ get_rtc_status(char *buf)
 
 /* The various file operations we support. */
 
-static const struct file_operations rtc_fops = {
+static struct file_operations rtc_fops = {
        .owner          = THIS_MODULE,
        .ioctl          = rtc_ioctl,
 };