]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/char/nvram.c
[POWERPC] silence a warning
[karo-tx-linux.git] / drivers / char / nvram.c
index 3556ccd77570b691937ab47bea7ba2af09fe57c2..a39f19c35a6a8bd6fa2673f916069039f6142b6a 100644 (file)
@@ -37,7 +37,6 @@
 #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>
@@ -438,7 +437,7 @@ nvram_read_proc(char *buffer, char **start, off_t offset,
 
 #endif /* CONFIG_PROC_FS */
 
-static struct file_operations nvram_fops = {
+static const struct file_operations nvram_fops = {
        .owner          = THIS_MODULE,
        .llseek         = nvram_llseek,
        .read           = nvram_read,