aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/devices
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc/devices')
-rw-r--r--samsung-ipc/devices/aries/aries.c6
-rw-r--r--samsung-ipc/devices/crespo/crespo.c4
-rw-r--r--samsung-ipc/devices/xmm626/xmm626_sec_modem.c2
-rw-r--r--samsung-ipc/devices/xmm626/xmm626_sec_modem.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/samsung-ipc/devices/aries/aries.c b/samsung-ipc/devices/aries/aries.c
index de010c9..99b60c7 100644
--- a/samsung-ipc/devices/aries/aries.c
+++ b/samsung-ipc/devices/aries/aries.c
@@ -706,7 +706,7 @@ int aries_data_destroy(void *transport_data, void *power_data, void *gprs_data)
return 0;
}
-int aries_gprs_activate(void *data, int cid)
+int aries_gprs_activate(void *data, unsigned int cid)
{
int rc;
@@ -717,7 +717,7 @@ int aries_gprs_activate(void *data, int cid)
return 0;
}
-int aries_gprs_deactivate(void *data, int cid)
+int aries_gprs_deactivate(void *data, unsigned int cid)
{
int rc;
@@ -728,7 +728,7 @@ int aries_gprs_deactivate(void *data, int cid)
return 0;
}
-char *aries_gprs_get_iface(int cid)
+char *aries_gprs_get_iface(unsigned int cid)
{
char *iface = NULL;
struct ifreq ifr;
diff --git a/samsung-ipc/devices/crespo/crespo.c b/samsung-ipc/devices/crespo/crespo.c
index 7589137..708a1a3 100644
--- a/samsung-ipc/devices/crespo/crespo.c
+++ b/samsung-ipc/devices/crespo/crespo.c
@@ -470,7 +470,7 @@ int crespo_data_destroy(void *transport_data, void *power_data, void *gprs_data)
return 0;
}
-char *crespo_gprs_get_iface_single(int cid)
+char *crespo_gprs_get_iface_single(unsigned int cid)
{
char *iface = NULL;
@@ -489,7 +489,7 @@ int crespo_gprs_get_capabilities_single(struct ipc_client_gprs_capabilities *cap
return 0;
}
-char *crespo_gprs_get_iface(int cid)
+char *crespo_gprs_get_iface(unsigned int cid)
{
char *iface = NULL;
diff --git a/samsung-ipc/devices/xmm626/xmm626_sec_modem.c b/samsung-ipc/devices/xmm626/xmm626_sec_modem.c
index 5f4d7bf..eedce07 100644
--- a/samsung-ipc/devices/xmm626/xmm626_sec_modem.c
+++ b/samsung-ipc/devices/xmm626/xmm626_sec_modem.c
@@ -476,7 +476,7 @@ int xmm626_sec_modem_poll(int fd, struct timeval *timeout)
return rc;
}
-char *xmm626_sec_modem_gprs_get_iface(int cid)
+char *xmm626_sec_modem_gprs_get_iface(unsigned int cid)
{
char *iface = NULL;
diff --git a/samsung-ipc/devices/xmm626/xmm626_sec_modem.h b/samsung-ipc/devices/xmm626/xmm626_sec_modem.h
index 900ddad..6d4ce12 100644
--- a/samsung-ipc/devices/xmm626/xmm626_sec_modem.h
+++ b/samsung-ipc/devices/xmm626/xmm626_sec_modem.h
@@ -55,7 +55,7 @@ int xmm626_sec_modem_read(int fd, void *buffer, size_t length);
int xmm626_sec_modem_write(int fd, const void *buffer, size_t length);
int xmm626_sec_modem_poll(int fd, struct timeval *timeout);
-char *xmm626_sec_modem_gprs_get_iface(int cid);
+char *xmm626_sec_modem_gprs_get_iface(unsigned int cid);
int xmm626_sec_modem_gprs_get_capabilities(struct ipc_client_gprs_capabilities *capabilities);
#endif