summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/fan.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2006-07-04 13:06:00 -0400
committerLen Brown <len.brown@intel.com>2006-07-10 00:04:29 -0400
commitd75080328affb4b268da430b7074cc8139cc662a (patch)
treeea743887a7a2e0fd6c859d7bacbc274299f958f5 /drivers/acpi/fan.c
parente26a2b8f68dca28c734d857517788e3b40b8691d (diff)
downloadop-kernel-dev-d75080328affb4b268da430b7074cc8139cc662a.zip
op-kernel-dev-d75080328affb4b268da430b7074cc8139cc662a.tar.gz
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/fan.c')
-rw-r--r--drivers/acpi/fan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c
index daed246..045c894 100644
--- a/drivers/acpi/fan.c
+++ b/drivers/acpi/fan.c
@@ -120,7 +120,7 @@ acpi_fan_write_state(struct file *file, const char __user * buffer,
return count;
}
-static struct file_operations acpi_fan_state_ops = {
+static const struct file_operations acpi_fan_state_ops = {
.open = acpi_fan_state_open_fs,
.read = seq_read,
.write = acpi_fan_write_state,
OpenPOWER on IntegriCloud