aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/apei/erst-dbg.c1
-rw-r--r--drivers/acpi/debugfs.c1
-rw-r--r--drivers/acpi/ec_sys.c1
-rw-r--r--drivers/acpi/event.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/apei/erst-dbg.c b/drivers/acpi/apei/erst-dbg.c
index da1228a9a54..de73caf3ceb 100644
--- a/drivers/acpi/apei/erst-dbg.c
+++ b/drivers/acpi/apei/erst-dbg.c
@@ -184,6 +184,7 @@ static const struct file_operations erst_dbg_ops = {
184 .read = erst_dbg_read, 184 .read = erst_dbg_read,
185 .write = erst_dbg_write, 185 .write = erst_dbg_write,
186 .unlocked_ioctl = erst_dbg_ioctl, 186 .unlocked_ioctl = erst_dbg_ioctl,
187 .llseek = no_llseek,
187}; 188};
188 189
189static struct miscdevice erst_dbg_dev = { 190static struct miscdevice erst_dbg_dev = {
diff --git a/drivers/acpi/debugfs.c b/drivers/acpi/debugfs.c
index 7de27d49c4b..6355b575ee5 100644
--- a/drivers/acpi/debugfs.c
+++ b/drivers/acpi/debugfs.c
@@ -69,6 +69,7 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,
69 69
70static const struct file_operations cm_fops = { 70static const struct file_operations cm_fops = {
71 .write = cm_write, 71 .write = cm_write,
72 .llseek = default_llseek,
72}; 73};
73 74
74int __init acpi_debugfs_init(void) 75int __init acpi_debugfs_init(void)
diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c
index 0e869b3f81c..411620ef84c 100644
--- a/drivers/acpi/ec_sys.c
+++ b/drivers/acpi/ec_sys.c
@@ -101,6 +101,7 @@ static struct file_operations acpi_ec_io_ops = {
101 .open = acpi_ec_open_io, 101 .open = acpi_ec_open_io,
102 .read = acpi_ec_read_io, 102 .read = acpi_ec_read_io,
103 .write = acpi_ec_write_io, 103 .write = acpi_ec_write_io,
104 .llseek = default_llseek,
104}; 105};
105 106
106int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count) 107int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c
index d439314a75d..85d90899380 100644
--- a/drivers/acpi/event.c
+++ b/drivers/acpi/event.c
@@ -110,6 +110,7 @@ static const struct file_operations acpi_system_event_ops = {
110 .read = acpi_system_read_event, 110 .read = acpi_system_read_event,
111 .release = acpi_system_close_event, 111 .release = acpi_system_close_event,
112 .poll = acpi_system_poll_event, 112 .poll = acpi_system_poll_event,
113 .llseek = default_llseek,
113}; 114};
114#endif /* CONFIG_ACPI_PROC_EVENT */ 115#endif /* CONFIG_ACPI_PROC_EVENT */
115 116