aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r--drivers/acpi/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2fe15060dcdc..1ec61e52b390 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -672,7 +672,7 @@ static int acpi_ec_info_open_fs(struct inode *inode, struct file *file)
672 return single_open(file, acpi_ec_read_info, PDE(inode)->data); 672 return single_open(file, acpi_ec_read_info, PDE(inode)->data);
673} 673}
674 674
675static struct file_operations acpi_ec_info_ops = { 675static const struct file_operations acpi_ec_info_ops = {
676 .open = acpi_ec_info_open_fs, 676 .open = acpi_ec_info_open_fs,
677 .read = seq_read, 677 .read = seq_read,
678 .llseek = seq_lseek, 678 .llseek = seq_lseek,