diff options
Diffstat (limited to 'drivers/char/random.c')
| -rw-r--r-- | drivers/char/random.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index 13d0b1350a6..b9dc7aa1dfb 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -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,  |