diff options
Diffstat (limited to 'fs/char_dev.c')
| -rw-r--r-- | fs/char_dev.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c index b53dffa46bac..4e1b849f912f 100644 --- a/fs/char_dev.c +++ b/fs/char_dev.c  | |||
| @@ -406,7 +406,7 @@ static void cdev_purge(struct cdev *cdev) | |||
| 406 | * is contain the open that then fills in the correct operations | 406 | * is contain the open that then fills in the correct operations | 
| 407 | * depending on the special file... | 407 | * depending on the special file... | 
| 408 | */ | 408 | */ | 
| 409 | struct file_operations def_chr_fops = { | 409 | const struct file_operations def_chr_fops = { | 
| 410 | .open = chrdev_open, | 410 | .open = chrdev_open, | 
| 411 | }; | 411 | }; | 
| 412 | 412 | ||
