Merge branch 'master' into for_paulus
[cascardo/linux.git] / drivers / char / random.c
index 13d0b13..b9dc7aa 100644 (file)
@@ -1117,14 +1117,14 @@ random_ioctl(struct inode * inode, struct file * file,
        }
 }
 
-struct file_operations random_fops = {
+const struct file_operations random_fops = {
        .read  = random_read,
        .write = random_write,
        .poll  = random_poll,
        .ioctl = random_ioctl,
 };
 
-struct file_operations urandom_fops = {
+const struct file_operations urandom_fops = {
        .read  = urandom_read,
        .write = random_write,
        .ioctl = random_ioctl,