diff options
author | Arjan van de Ven <arjan@infradead.org> | 2006-07-04 13:06:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-07-10 00:04:29 -0400 |
commit | d75080328affb4b268da430b7074cc8139cc662a (patch) | |
tree | ea743887a7a2e0fd6c859d7bacbc274299f958f5 /drivers/acpi/ac.c | |
parent | e26a2b8f68dca28c734d857517788e3b40b8691d (diff) |
ACPI: add 'const' to several ACPI file_operations
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/ac.c')
-rw-r--r-- | drivers/acpi/ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index 24ccf81d135f..96309b9660da 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c | |||
@@ -72,7 +72,7 @@ struct acpi_ac { | |||
72 | unsigned long state; | 72 | unsigned long state; |
73 | }; | 73 | }; |
74 | 74 | ||
75 | static struct file_operations acpi_ac_fops = { | 75 | static const struct file_operations acpi_ac_fops = { |
76 | .open = acpi_ac_open_fs, | 76 | .open = acpi_ac_open_fs, |
77 | .read = seq_read, | 77 | .read = seq_read, |
78 | .llseek = seq_lseek, | 78 | .llseek = seq_lseek, |