diff options
| author | John W. Linville <linville@tuxdriver.com> | 2006-07-27 14:27:06 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2006-07-27 14:27:06 -0400 |
| commit | 20f99dcf417a28089ef6c877ae97f5dec2eab435 (patch) | |
| tree | b4fe1f3e429d6a82ddaaa8e12899da630cfa8a63 /drivers/acpi/system.c | |
| parent | dd2f5538a157bda68bfa8efb39feaaccdda9e74e (diff) | |
| parent | 64821324ca49f24be1a66f2f432108f96a24e596 (diff) | |
Merge branch 'from-linus' into upstream
Diffstat (limited to 'drivers/acpi/system.c')
| -rw-r--r-- | drivers/acpi/system.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c index c3bb7faad75e..d86dcb3c2366 100644 --- a/drivers/acpi/system.c +++ b/drivers/acpi/system.c | |||
| @@ -57,7 +57,7 @@ static int acpi_system_info_open_fs(struct inode *inode, struct file *file) | |||
| 57 | return single_open(file, acpi_system_read_info, PDE(inode)->data); | 57 | return single_open(file, acpi_system_read_info, PDE(inode)->data); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | static struct file_operations acpi_system_info_ops = { | 60 | static const struct file_operations acpi_system_info_ops = { |
| 61 | .open = acpi_system_info_open_fs, | 61 | .open = acpi_system_info_open_fs, |
| 62 | .read = seq_read, | 62 | .read = seq_read, |
| 63 | .llseek = seq_lseek, | 63 | .llseek = seq_lseek, |
| @@ -67,7 +67,7 @@ static struct file_operations acpi_system_info_ops = { | |||
| 67 | static ssize_t acpi_system_read_dsdt(struct file *, char __user *, size_t, | 67 | static ssize_t acpi_system_read_dsdt(struct file *, char __user *, size_t, |
| 68 | loff_t *); | 68 | loff_t *); |
| 69 | 69 | ||
| 70 | static struct file_operations acpi_system_dsdt_ops = { | 70 | static const struct file_operations acpi_system_dsdt_ops = { |
| 71 | .read = acpi_system_read_dsdt, | 71 | .read = acpi_system_read_dsdt, |
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| @@ -94,7 +94,7 @@ acpi_system_read_dsdt(struct file *file, | |||
| 94 | static ssize_t acpi_system_read_fadt(struct file *, char __user *, size_t, | 94 | static ssize_t acpi_system_read_fadt(struct file *, char __user *, size_t, |
| 95 | loff_t *); | 95 | loff_t *); |
| 96 | 96 | ||
| 97 | static struct file_operations acpi_system_fadt_ops = { | 97 | static const struct file_operations acpi_system_fadt_ops = { |
| 98 | .read = acpi_system_read_fadt, | 98 | .read = acpi_system_read_fadt, |
| 99 | }; | 99 | }; |
| 100 | 100 | ||
