diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-02-28 22:53:03 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-02-28 22:58:19 +0100 |
commit | 9ff9785a7f48e32f107ca7fb2e298b1320ad4cbc (patch) | |
tree | cc071578faa2e9894771248dded27264ae927968 /samsung-ipc/devices/aries/aries.c | |
parent | 49db12d40b5db434b77e3b40ac711c5d40e4771a (diff) | |
download | hardware_replicant_libsamsung-ipc-9ff9785a7f48e32f107ca7fb2e298b1320ad4cbc.tar.gz hardware_replicant_libsamsung-ipc-9ff9785a7f48e32f107ca7fb2e298b1320ad4cbc.tar.bz2 hardware_replicant_libsamsung-ipc-9ff9785a7f48e32f107ca7fb2e298b1320ad4cbc.zip |
ipc_client_gprs_specs 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/aries/aries.c')
-rw-r--r-- | samsung-ipc/devices/aries/aries.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/samsung-ipc/devices/aries/aries.c b/samsung-ipc/devices/aries/aries.c index 694831b..6daa0cc 100644 --- a/samsung-ipc/devices/aries/aries.c +++ b/samsung-ipc/devices/aries/aries.c @@ -805,7 +805,8 @@ int aries_gprs_deactivate(__attribute__((unused)) struct ipc_client *client, return 0; } -char *aries_gprs_get_iface(unsigned int cid) +char *aries_gprs_get_iface(__attribute__((unused)) struct ipc_client *client, + unsigned int cid) { char *iface = NULL; @@ -817,7 +818,8 @@ char *aries_gprs_get_iface(unsigned int cid) return iface; } -int aries_gprs_get_capabilities(struct ipc_client_gprs_capabilities *capabilities) +int aries_gprs_get_capabilities(__attribute__((unused)) struct ipc_client *client, + struct ipc_client_gprs_capabilities *capabilities) { if (capabilities == NULL) return -1; |