diff options
author | Len Brown <len.brown@intel.com> | 2006-07-10 02:39:26 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-07-10 02:39:26 -0400 |
commit | 1a39ed5888a8336ed2762d5b367195b14b878850 (patch) | |
tree | 97119752e85b6ab063e5c1bab42d931eee44f311 /drivers/acpi/hotkey.c | |
parent | 1b045e5d207fc65e6708e303c2ab4249bf619982 (diff) | |
parent | d75080328affb4b268da430b7074cc8139cc662a (diff) |
Pull trivial into test branch
Diffstat (limited to 'drivers/acpi/hotkey.c')
-rw-r--r-- | drivers/acpi/hotkey.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/hotkey.c b/drivers/acpi/hotkey.c index fd81a0f5222f..32c9d88fd196 100644 --- a/drivers/acpi/hotkey.c +++ b/drivers/acpi/hotkey.c | |||
@@ -184,7 +184,7 @@ static union acpi_hotkey *get_hotkey_by_event(struct | |||
184 | *hotkey_list, int event); | 184 | *hotkey_list, int event); |
185 | 185 | ||
186 | /* event based config */ | 186 | /* event based config */ |
187 | static struct file_operations hotkey_config_fops = { | 187 | static const struct file_operations hotkey_config_fops = { |
188 | .open = hotkey_open_config, | 188 | .open = hotkey_open_config, |
189 | .read = seq_read, | 189 | .read = seq_read, |
190 | .write = hotkey_write_config, | 190 | .write = hotkey_write_config, |
@@ -193,7 +193,7 @@ static struct file_operations hotkey_config_fops = { | |||
193 | }; | 193 | }; |
194 | 194 | ||
195 | /* polling based config */ | 195 | /* polling based config */ |
196 | static struct file_operations hotkey_poll_config_fops = { | 196 | static const struct file_operations hotkey_poll_config_fops = { |
197 | .open = hotkey_poll_open_config, | 197 | .open = hotkey_poll_open_config, |
198 | .read = seq_read, | 198 | .read = seq_read, |
199 | .write = hotkey_write_config, | 199 | .write = hotkey_write_config, |
@@ -202,7 +202,7 @@ static struct file_operations hotkey_poll_config_fops = { | |||
202 | }; | 202 | }; |
203 | 203 | ||
204 | /* hotkey driver info */ | 204 | /* hotkey driver info */ |
205 | static struct file_operations hotkey_info_fops = { | 205 | static const struct file_operations hotkey_info_fops = { |
206 | .open = hotkey_info_open_fs, | 206 | .open = hotkey_info_open_fs, |
207 | .read = seq_read, | 207 | .read = seq_read, |
208 | .llseek = seq_lseek, | 208 | .llseek = seq_lseek, |
@@ -210,7 +210,7 @@ static struct file_operations hotkey_info_fops = { | |||
210 | }; | 210 | }; |
211 | 211 | ||
212 | /* action */ | 212 | /* action */ |
213 | static struct file_operations hotkey_action_fops = { | 213 | static const struct file_operations hotkey_action_fops = { |
214 | .open = hotkey_action_open_fs, | 214 | .open = hotkey_action_open_fs, |
215 | .read = seq_read, | 215 | .read = seq_read, |
216 | .write = hotkey_execute_aml_method, | 216 | .write = hotkey_execute_aml_method, |
@@ -219,7 +219,7 @@ static struct file_operations hotkey_action_fops = { | |||
219 | }; | 219 | }; |
220 | 220 | ||
221 | /* polling results */ | 221 | /* polling results */ |
222 | static struct file_operations hotkey_polling_fops = { | 222 | static const struct file_operations hotkey_polling_fops = { |
223 | .open = hotkey_polling_open_fs, | 223 | .open = hotkey_polling_open_fs, |
224 | .read = seq_read, | 224 | .read = seq_read, |
225 | .llseek = seq_lseek, | 225 | .llseek = seq_lseek, |