diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-02-28 21:04:26 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-02-28 22:42:43 +0100 |
commit | c8960d3f893f9034a02771eca5e0a4c19af2bdbf (patch) | |
tree | b26149b54a290261ee14588cbbf5ab659e635cc8 /samsung-ipc/devices/galaxys2/galaxys2.c | |
parent | fc568111ee52494c28bedfd72f5bc6e35649c646 (diff) | |
download | hardware_replicant_libsamsung-ipc-c8960d3f893f9034a02771eca5e0a4c19af2bdbf.tar.gz hardware_replicant_libsamsung-ipc-c8960d3f893f9034a02771eca5e0a4c19af2bdbf.tar.bz2 hardware_replicant_libsamsung-ipc-c8960d3f893f9034a02771eca5e0a4c19af2bdbf.zip |
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'samsung-ipc/devices/galaxys2/galaxys2.c')
-rw-r--r-- | samsung-ipc/devices/galaxys2/galaxys2.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |