diff options
Diffstat (limited to 'drivers/acpi/video.c')
-rw-r--r-- | drivers/acpi/video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 52779549d367..0e7e689634a7 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -217,7 +217,7 @@ static const struct file_operations acpi_video_bus_POST_info_fops = { | |||
217 | }; | 217 | }; |
218 | 218 | ||
219 | static int acpi_video_bus_POST_open_fs(struct inode *inode, struct file *file); | 219 | static int acpi_video_bus_POST_open_fs(struct inode *inode, struct file *file); |
220 | static int acpi_video_bus_write_POST(struct file *file, | 220 | static ssize_t acpi_video_bus_write_POST(struct file *file, |
221 | const char __user *buffer, size_t count, loff_t *data); | 221 | const char __user *buffer, size_t count, loff_t *data); |
222 | static const struct file_operations acpi_video_bus_POST_fops = { | 222 | static const struct file_operations acpi_video_bus_POST_fops = { |
223 | .owner = THIS_MODULE, | 223 | .owner = THIS_MODULE, |
@@ -229,7 +229,7 @@ static const struct file_operations acpi_video_bus_POST_fops = { | |||
229 | }; | 229 | }; |
230 | 230 | ||
231 | static int acpi_video_bus_DOS_open_fs(struct inode *inode, struct file *file); | 231 | static int acpi_video_bus_DOS_open_fs(struct inode *inode, struct file *file); |
232 | static int acpi_video_bus_write_DOS(struct file *file, | 232 | static ssize_t acpi_video_bus_write_DOS(struct file *file, |
233 | const char __user *buffer, size_t count, loff_t *data); | 233 | const char __user *buffer, size_t count, loff_t *data); |
234 | static const struct file_operations acpi_video_bus_DOS_fops = { | 234 | static const struct file_operations acpi_video_bus_DOS_fops = { |
235 | .owner = THIS_MODULE, | 235 | .owner = THIS_MODULE, |
@@ -253,7 +253,7 @@ static const struct file_operations acpi_video_device_info_fops = { | |||
253 | 253 | ||
254 | static int acpi_video_device_state_open_fs(struct inode *inode, | 254 | static int acpi_video_device_state_open_fs(struct inode *inode, |
255 | struct file *file); | 255 | struct file *file); |
256 | static int acpi_video_device_write_state(struct file *file, | 256 | static ssize_t acpi_video_device_write_state(struct file *file, |
257 | const char __user *buffer, size_t count, loff_t *data); | 257 | const char __user *buffer, size_t count, loff_t *data); |
258 | static const struct file_operations acpi_video_device_state_fops = { | 258 | static const struct file_operations acpi_video_device_state_fops = { |
259 | .owner = THIS_MODULE, | 259 | .owner = THIS_MODULE, |
@@ -266,7 +266,7 @@ static const struct file_operations acpi_video_device_state_fops = { | |||
266 | 266 | ||
267 | static int acpi_video_device_brightness_open_fs(struct inode *inode, | 267 | static int acpi_video_device_brightness_open_fs(struct inode *inode, |
268 | struct file *file); | 268 | struct file *file); |
269 | static int acpi_video_device_write_brightness(struct file *file, | 269 | static ssize_t acpi_video_device_write_brightness(struct file *file, |
270 | const char __user *buffer, size_t count, loff_t *data); | 270 | const char __user *buffer, size_t count, loff_t *data); |
271 | static struct file_operations acpi_video_device_brightness_fops = { | 271 | static struct file_operations acpi_video_device_brightness_fops = { |
272 | .owner = THIS_MODULE, | 272 | .owner = THIS_MODULE, |