From c8960d3f893f9034a02771eca5e0a4c19af2bdbf Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 28 Feb 2020 21:04:26 +0100 Subject: devices: gprs activate/deactivate handlers: pass the ipc_client struct This enables to use logging inside the callbacks. At this point the ipc_client struct is already available, so it is safe to do that. Signed-off-by: Denis 'GNUtoo' Carikli --- samsung-ipc/devices/galaxys2/galaxys2.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'samsung-ipc/devices/galaxys2/galaxys2.c') diff --git a/samsung-ipc/devices/galaxys2/galaxys2.c b/samsung-ipc/devices/galaxys2/galaxys2.c index 3529cf5..78101e4 100644 --- a/samsung-ipc/devices/galaxys2/galaxys2.c +++ b/samsung-ipc/devices/galaxys2/galaxys2.c @@ -342,13 +342,15 @@ int galaxys2_power_off(__attribute__((unused)) struct ipc_client *client, return 0; } -int galaxys2_gprs_activate(__attribute__((unused)) void *data, +int galaxys2_gprs_activate(__attribute__((unused)) struct ipc_client *client, + __attribute__((unused)) void *data, __attribute__((unused)) unsigned int cid) { return 0; } -int galaxys2_gprs_deactivate(__attribute__((unused)) void *data, +int galaxys2_gprs_deactivate(__attribute__((unused)) struct ipc_client *client, + __attribute__((unused)) void *data, __attribute__((unused)) unsigned int cid) { return 0; -- cgit v1.2.3