linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / char / nvram.c
index a39f19c..3556ccd 100644 (file)
@@ -37,6 +37,7 @@
 #define NVRAM_VERSION  "1.2"
 
 #include <linux/module.h>
+#include <linux/config.h>
 #include <linux/sched.h>
 #include <linux/smp_lock.h>
 #include <linux/nvram.h>
@@ -437,7 +438,7 @@ nvram_read_proc(char *buffer, char **start, off_t offset,
 
 #endif /* CONFIG_PROC_FS */
 
-static const struct file_operations nvram_fops = {
+static struct file_operations nvram_fops = {
        .owner          = THIS_MODULE,
        .llseek         = nvram_llseek,
        .read           = nvram_read,