diff options
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 03107bce03e..04e90443eff 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -682,7 +682,7 @@ static int acpi_ec_info_open_fs(struct inode *inode, struct file *file) | |||
682 | return single_open(file, acpi_ec_read_info, PDE(inode)->data); | 682 | return single_open(file, acpi_ec_read_info, PDE(inode)->data); |
683 | } | 683 | } |
684 | 684 | ||
685 | static struct file_operations acpi_ec_info_ops = { | 685 | static const struct file_operations acpi_ec_info_ops = { |
686 | .open = acpi_ec_info_open_fs, | 686 | .open = acpi_ec_info_open_fs, |
687 | .read = seq_read, | 687 | .read = seq_read, |
688 | .llseek = seq_lseek, | 688 | .llseek = seq_lseek, |