ACPI: add 'const' to several ACPI file_operations
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / acpi / button.c
index fd1ba05eab688fb409d259d97848b88cec6c325c..5ef885e82c78a94b7352307307ac4b5e35e0b08f 100644 (file)
@@ -87,14 +87,14 @@ struct acpi_button {
        unsigned long pushed;
 };
 
-static struct file_operations acpi_button_info_fops = {
+static const struct file_operations acpi_button_info_fops = {
        .open = acpi_button_info_open_fs,
        .read = seq_read,
        .llseek = seq_lseek,
        .release = single_release,
 };
 
-static struct file_operations acpi_button_state_fops = {
+static const struct file_operations acpi_button_state_fops = {
        .open = acpi_button_state_open_fs,
        .read = seq_read,
        .llseek = seq_lseek,