X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fbinfmt_misc.c;h=d73d75591a3966125003fdc8e6edebca1d7cc5e3;hb=5006ecc2d5073d4e52f54381fd0fee1575d4ce22;hp=6a7b730c206bbc8c8e0f757187873dff2af3d3b6;hpb=858119e159384308a5dde67776691a2ebf70df0f;p=linux-2.6 diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index 6a7b730c20..d73d75591a 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c @@ -600,7 +600,7 @@ static ssize_t bm_entry_write(struct file *file, const char __user *buffer, return count; } -static struct file_operations bm_entry_operations = { +static const struct file_operations bm_entry_operations = { .read = bm_entry_read, .write = bm_entry_write, }; @@ -668,7 +668,7 @@ out: return count; } -static struct file_operations bm_register_operations = { +static const struct file_operations bm_register_operations = { .write = bm_register_write, }; @@ -715,7 +715,7 @@ static ssize_t bm_status_write(struct file * file, const char __user * buffer, return count; } -static struct file_operations bm_status_operations = { +static const struct file_operations bm_status_operations = { .read = bm_status_read, .write = bm_status_write, };