aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-29 12:57:49 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-29 12:57:49 +0200
commit8d0b0f65e5a90b7387d1419eff35cec5602fee79 (patch)
treee700d2e5b6cc3ba33cf26ad6aed56bb7f09fadad
parenta7ae7393c60c7345fbf0e9de1b656493bbff1731 (diff)
downloadexternal_libsamsung-ipc-8d0b0f65e5a90b7387d1419eff35cec5602fee79.zip
external_libsamsung-ipc-8d0b0f65e5a90b7387d1419eff35cec5602fee79.tar.gz
external_libsamsung-ipc-8d0b0f65e5a90b7387d1419eff35cec5602fee79.tar.bz2
Missing gprs_activate/deactivate handlers definitions
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--samsung-ipc/devices/crespo/crespo.c14
-rw-r--r--samsung-ipc/devices/galaxys2/galaxys2.c14
-rw-r--r--samsung-ipc/devices/i9300/i9300.c14
-rw-r--r--samsung-ipc/devices/maguro/maguro.c14
-rw-r--r--samsung-ipc/devices/n7100/n7100.c14
-rw-r--r--samsung-ipc/devices/piranha/piranha.c14
6 files changed, 72 insertions, 12 deletions
diff --git a/samsung-ipc/devices/crespo/crespo.c b/samsung-ipc/devices/crespo/crespo.c
index 708a1a3..97c1541 100644
--- a/samsung-ipc/devices/crespo/crespo.c
+++ b/samsung-ipc/devices/crespo/crespo.c
@@ -470,6 +470,16 @@ int crespo_data_destroy(void *transport_data, void *power_data, void *gprs_data)
return 0;
}
+int crespo_gprs_activate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
+int crespo_gprs_deactivate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
char *crespo_gprs_get_iface_single(unsigned int cid)
{
char *iface = NULL;
@@ -533,8 +543,8 @@ struct ipc_client_handlers crespo_handlers = {
.power_on = crespo_power_on,
.power_off = crespo_power_off,
.power_data = NULL,
- .gprs_activate = NULL,
- .gprs_deactivate = NULL,
+ .gprs_activate = crespo_gprs_activate,
+ .gprs_deactivate = crespo_gprs_deactivate,
.gprs_data = NULL,
.data_create = crespo_data_create,
.data_destroy = crespo_data_destroy,
diff --git a/samsung-ipc/devices/galaxys2/galaxys2.c b/samsung-ipc/devices/galaxys2/galaxys2.c
index fe623c4..19ddd73 100644
--- a/samsung-ipc/devices/galaxys2/galaxys2.c
+++ b/samsung-ipc/devices/galaxys2/galaxys2.c
@@ -329,6 +329,16 @@ int galaxys2_power_off(void *data)
return 0;
}
+int galaxys2_gprs_activate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
+int galaxys2_gprs_deactivate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
int galaxys2_data_create(void **transport_data, void **power_data,
void **gprs_data)
{
@@ -373,8 +383,8 @@ struct ipc_client_handlers galaxys2_handlers = {
.power_on = galaxys2_power_on,
.power_off = galaxys2_power_off,
.power_data = NULL,
- .gprs_activate = NULL,
- .gprs_deactivate = NULL,
+ .gprs_activate = galaxys2_gprs_activate,
+ .gprs_deactivate = galaxys2_gprs_deactivate,
.gprs_data = NULL,
.data_create = galaxys2_data_create,
.data_destroy = galaxys2_data_destroy,
diff --git a/samsung-ipc/devices/i9300/i9300.c b/samsung-ipc/devices/i9300/i9300.c
index 9c3611d..fafcbe4 100644
--- a/samsung-ipc/devices/i9300/i9300.c
+++ b/samsung-ipc/devices/i9300/i9300.c
@@ -323,6 +323,16 @@ int i9300_power_off(void *data)
return 0;
}
+int i9300_gprs_activate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
+int i9300_gprs_deactivate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
int i9300_data_create(void **transport_data, void **power_data,
void **gprs_data)
{
@@ -366,8 +376,8 @@ struct ipc_client_handlers i9300_handlers = {
.power_on = i9300_power_on,
.power_off = i9300_power_off,
.power_data = NULL,
- .gprs_activate = NULL,
- .gprs_deactivate = NULL,
+ .gprs_activate = i9300_gprs_activate,
+ .gprs_deactivate = i9300_gprs_deactivate,
.gprs_data = NULL,
.data_create = i9300_data_create,
.data_destroy = i9300_data_destroy,
diff --git a/samsung-ipc/devices/maguro/maguro.c b/samsung-ipc/devices/maguro/maguro.c
index aee8f75..dcc1bf3 100644
--- a/samsung-ipc/devices/maguro/maguro.c
+++ b/samsung-ipc/devices/maguro/maguro.c
@@ -304,6 +304,16 @@ int maguro_power_off(void *data)
return 0;
}
+int maguro_gprs_activate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
+int maguro_gprs_deactivate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
int maguro_data_create(void **transport_data, void **power_data,
void **gprs_data)
{
@@ -348,8 +358,8 @@ struct ipc_client_handlers maguro_handlers = {
.power_on = maguro_power_on,
.power_off = maguro_power_off,
.power_data = NULL,
- .gprs_activate = NULL,
- .gprs_deactivate = NULL,
+ .gprs_activate = maguro_gprs_activate,
+ .gprs_deactivate = maguro_gprs_deactivate,
.gprs_data = NULL,
.data_create = maguro_data_create,
.data_destroy = maguro_data_destroy,
diff --git a/samsung-ipc/devices/n7100/n7100.c b/samsung-ipc/devices/n7100/n7100.c
index a85ffe2..cc3c73b 100644
--- a/samsung-ipc/devices/n7100/n7100.c
+++ b/samsung-ipc/devices/n7100/n7100.c
@@ -323,6 +323,16 @@ int n7100_power_off(void *data)
return 0;
}
+int n7100_gprs_activate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
+int n7100_gprs_deactivate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
int n7100_data_create(void **transport_data, void **power_data,
void **gprs_data)
{
@@ -367,8 +377,8 @@ struct ipc_client_handlers n7100_handlers = {
.power_on = n7100_power_on,
.power_off = n7100_power_off,
.power_data = NULL,
- .gprs_activate = NULL,
- .gprs_deactivate = NULL,
+ .gprs_activate = n7100_gprs_activate,
+ .gprs_deactivate = n7100_gprs_deactivate,
.gprs_data = NULL,
.data_create = n7100_data_create,
.data_destroy = n7100_data_destroy,
diff --git a/samsung-ipc/devices/piranha/piranha.c b/samsung-ipc/devices/piranha/piranha.c
index 3ec4e5c..b3df61d 100644
--- a/samsung-ipc/devices/piranha/piranha.c
+++ b/samsung-ipc/devices/piranha/piranha.c
@@ -271,6 +271,16 @@ int piranha_power_off(void *data)
return 0;
}
+int piranha_gprs_activate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
+int piranha_gprs_deactivate(void *data, unsigned int cid)
+{
+ return 0;
+}
+
int piranha_data_create(void **transport_data, void **power_data,
void **gprs_data)
{
@@ -315,8 +325,8 @@ struct ipc_client_handlers piranha_handlers = {
.power_on = piranha_power_on,
.power_off = piranha_power_off,
.power_data = NULL,
- .gprs_activate = NULL,
- .gprs_deactivate = NULL,
+ .gprs_activate = piranha_gprs_activate,
+ .gprs_deactivate = piranha_gprs_deactivate,
.gprs_data = NULL,
.data_create = piranha_data_create,
.data_destroy = piranha_data_destroy,