X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fnvram.c;h=a39f19c35a6a8bd6fa2673f916069039f6142b6a;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=3556ccd77570b691937ab47bea7ba2af09fe57c2;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c index 3556ccd77..a39f19c35 100644 --- a/drivers/char/nvram.c +++ b/drivers/char/nvram.c @@ -37,7 +37,6 @@ #define NVRAM_VERSION "1.2" #include -#include #include #include #include @@ -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,