X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fchar%2Fnvram.c;h=204deaa0de80edb9f16ca0fd55923b13950924e0;hb=3991428d9efc7185312196f82cc36e9df4a2ddb0;hp=8c5f102622b690da7b6efd7c56a9628e00483636;hpb=b2f71bade430d468398167d696731bf770de2db8;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c index 8c5f102622b..204deaa0de8 100644 --- a/drivers/char/nvram.c +++ b/drivers/char/nvram.c @@ -37,7 +37,6 @@ #define NVRAM_VERSION "1.2" #include -#include #include #include @@ -437,7 +436,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,