diff options
Diffstat (limited to 'drivers/char/nwbutton.c')
| -rw-r--r-- | drivers/char/nwbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/nwbutton.c b/drivers/char/nwbutton.c index f240a104d250..7c57ebfa8640 100644 --- a/drivers/char/nwbutton.c +++ b/drivers/char/nwbutton.c | |||
| @@ -183,7 +183,7 @@ static int button_read (struct file *filp, char __user *buffer, | |||
| 183 | * attempts to perform these operations on the device. | 183 | * attempts to perform these operations on the device. |
| 184 | */ | 184 | */ |
| 185 | 185 | ||
| 186 | static struct file_operations button_fops = { | 186 | static const struct file_operations button_fops = { |
| 187 | .owner = THIS_MODULE, | 187 | .owner = THIS_MODULE, |
| 188 | .read = button_read, | 188 | .read = button_read, |
| 189 | }; | 189 | }; |
