aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/video.c')
-rw-r--r--drivers/acpi/video.c10
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 */
191static int acpi_video_bus_info_open_fs(struct inode *inode, struct file *file); 191static int acpi_video_bus_info_open_fs(struct inode *inode, struct file *file);
192static struct file_operations acpi_video_bus_info_fops = { 192static 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
200static int acpi_video_bus_ROM_open_fs(struct inode *inode, struct file *file); 200static int acpi_video_bus_ROM_open_fs(struct inode *inode, struct file *file);
201static struct file_operations acpi_video_bus_ROM_fops = { 201static 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
209static int acpi_video_bus_POST_info_open_fs(struct inode *inode, 209static int acpi_video_bus_POST_info_open_fs(struct inode *inode,
210 struct file *file); 210 struct file *file);
211static struct file_operations acpi_video_bus_POST_info_fops = { 211static 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 */
238static int acpi_video_device_info_open_fs(struct inode *inode, 238static int acpi_video_device_info_open_fs(struct inode *inode,
239 struct file *file); 239 struct file *file);
240static struct file_operations acpi_video_device_info_fops = { 240static 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
268static int acpi_video_device_EDID_open_fs(struct inode *inode, 268static int acpi_video_device_EDID_open_fs(struct inode *inode,
269 struct file *file); 269 struct file *file);
270static struct file_operations acpi_video_device_EDID_fops = { 270static 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,