]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/kernel/salinfo.c
[PATCH] mark struct file_operations const 2
[linux-2.6-omap-h63xx.git] / arch / ia64 / kernel / salinfo.c
index e375a2f0f2c34f67848948bdd918e0a867ace9f8..af9f8754d8474ac0b0660ca50eaa547fadeeadcc 100644 (file)
@@ -352,7 +352,7 @@ retry:
        return size;
 }
 
-static struct file_operations salinfo_event_fops = {
+static const struct file_operations salinfo_event_fops = {
        .open  = salinfo_event_open,
        .read  = salinfo_event_read,
 };
@@ -568,7 +568,7 @@ salinfo_log_write(struct file *file, const char __user *buffer, size_t count, lo
        return count;
 }
 
-static struct file_operations salinfo_data_fops = {
+static const struct file_operations salinfo_data_fops = {
        .open    = salinfo_log_open,
        .release = salinfo_log_release,
        .read    = salinfo_log_read,