diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-11 18:07:55 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-03 23:14:40 -0400 |
commit | 070d8eb1f6b789206486ea6a4a1bb7745d86d314 (patch) | |
tree | 08adf0215ee2f76a26adca7ff90e449d02acee22 /drivers/acpi/video.c | |
parent | 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff) |
ACPI: constify VFTs (1/2)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/video.c')
-rw-r--r-- | drivers/acpi/video.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index bb5ed059114a..65c3073a1dcb 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -189,7 +189,7 @@ struct acpi_video_device { | |||
189 | 189 | ||
190 | /* bus */ | 190 | /* bus */ |
191 | static int acpi_video_bus_info_open_fs(struct inode *inode, struct file *file); | 191 | static int acpi_video_bus_info_open_fs(struct inode *inode, struct file *file); |
192 | static struct file_operations acpi_video_bus_info_fops = { | 192 | static const struct file_operations acpi_video_bus_info_fops = { |
193 | .owner = THIS_MODULE, | 193 | .owner = THIS_MODULE, |
194 | .open = acpi_video_bus_info_open_fs, | 194 | .open = acpi_video_bus_info_open_fs, |
195 | .read = seq_read, | 195 | .read = seq_read, |
@@ -198,7 +198,7 @@ static struct file_operations acpi_video_bus_info_fops = { | |||
198 | }; | 198 | }; |
199 | 199 | ||
200 | static int acpi_video_bus_ROM_open_fs(struct inode *inode, struct file *file); | 200 | static int acpi_video_bus_ROM_open_fs(struct inode *inode, struct file *file); |
201 | static struct file_operations acpi_video_bus_ROM_fops = { | 201 | static const struct file_operations acpi_video_bus_ROM_fops = { |
202 | .owner = THIS_MODULE, | 202 | .owner = THIS_MODULE, |
203 | .open = acpi_video_bus_ROM_open_fs, | 203 | .open = acpi_video_bus_ROM_open_fs, |
204 | .read = seq_read, | 204 | .read = seq_read, |
@@ -208,7 +208,7 @@ static struct file_operations acpi_video_bus_ROM_fops = { | |||
208 | 208 | ||
209 | static int acpi_video_bus_POST_info_open_fs(struct inode *inode, | 209 | static int acpi_video_bus_POST_info_open_fs(struct inode *inode, |
210 | struct file *file); | 210 | struct file *file); |
211 | static struct file_operations acpi_video_bus_POST_info_fops = { | 211 | static const struct file_operations acpi_video_bus_POST_info_fops = { |
212 | .owner = THIS_MODULE, | 212 | .owner = THIS_MODULE, |
213 | .open = acpi_video_bus_POST_info_open_fs, | 213 | .open = acpi_video_bus_POST_info_open_fs, |
214 | .read = seq_read, | 214 | .read = seq_read, |
@@ -237,7 +237,7 @@ static struct file_operations acpi_video_bus_DOS_fops = { | |||
237 | /* device */ | 237 | /* device */ |
238 | static int acpi_video_device_info_open_fs(struct inode *inode, | 238 | static int acpi_video_device_info_open_fs(struct inode *inode, |
239 | struct file *file); | 239 | struct file *file); |
240 | static struct file_operations acpi_video_device_info_fops = { | 240 | static const struct file_operations acpi_video_device_info_fops = { |
241 | .owner = THIS_MODULE, | 241 | .owner = THIS_MODULE, |
242 | .open = acpi_video_device_info_open_fs, | 242 | .open = acpi_video_device_info_open_fs, |
243 | .read = seq_read, | 243 | .read = seq_read, |
@@ -267,7 +267,7 @@ static struct file_operations acpi_video_device_brightness_fops = { | |||
267 | 267 | ||
268 | static int acpi_video_device_EDID_open_fs(struct inode *inode, | 268 | static int acpi_video_device_EDID_open_fs(struct inode *inode, |
269 | struct file *file); | 269 | struct file *file); |
270 | static struct file_operations acpi_video_device_EDID_fops = { | 270 | static const struct file_operations acpi_video_device_EDID_fops = { |
271 | .owner = THIS_MODULE, | 271 | .owner = THIS_MODULE, |
272 | .open = acpi_video_device_EDID_open_fs, | 272 | .open = acpi_video_device_EDID_open_fs, |
273 | .read = seq_read, | 273 | .read = seq_read, |