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