aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/devices/galaxys2/galaxys2.c
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc/devices/galaxys2/galaxys2.c')
-rw-r--r--samsung-ipc/devices/galaxys2/galaxys2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samsung-ipc/devices/galaxys2/galaxys2.c b/samsung-ipc/devices/galaxys2/galaxys2.c
index 19ddd73..672400f 100644
--- a/samsung-ipc/devices/galaxys2/galaxys2.c
+++ b/samsung-ipc/devices/galaxys2/galaxys2.c
@@ -290,7 +290,7 @@ int galaxys2_write(void *data, const void *buffer, size_t length)
return rc;
}
-int galaxys2_poll(void *data, struct timeval *timeout)
+int galaxys2_poll(void *data, struct ipc_poll_fds *fds, struct timeval *timeout)
{
struct galaxys2_transport_data *transport_data;
int rc;
@@ -300,7 +300,7 @@ int galaxys2_poll(void *data, struct timeval *timeout)
transport_data = (struct galaxys2_transport_data *) data;
- rc = xmm626_sec_modem_poll(transport_data->fd, timeout);
+ rc = xmm626_sec_modem_poll(transport_data->fd, fds, timeout);
return rc;
}