summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-09-01 21:39:02 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 21:39:02 -0500
commit422df0edfb321b0905ca85b02b31cb9c824a6d9d (patch)
tree8f3cee30af9e916524500694d73b25f8fcf650be /drivers/atmodem
parentd8282ec589106639d272571adcb1f2eb1dc495e8 (diff)
downloadofono-422df0edfb321b0905ca85b02b31cb9c824a6d9d.tar.bz2
change int vendor to unsigned int vendor
Diffstat (limited to 'drivers/atmodem')
-rw-r--r--drivers/atmodem/call-barring.c4
-rw-r--r--drivers/atmodem/call-forwarding.c2
-rw-r--r--drivers/atmodem/call-meter.c3
-rw-r--r--drivers/atmodem/call-settings.c4
-rw-r--r--drivers/atmodem/devinfo.c3
-rw-r--r--drivers/atmodem/network-registration.c3
-rw-r--r--drivers/atmodem/phonebook.c2
-rw-r--r--drivers/atmodem/sim.c3
-rw-r--r--drivers/atmodem/sms.c5
-rw-r--r--drivers/atmodem/ssn.c3
-rw-r--r--drivers/atmodem/ussd.c3
-rw-r--r--drivers/atmodem/voicecall.c2
12 files changed, 22 insertions, 15 deletions
diff --git a/drivers/atmodem/call-barring.c b/drivers/atmodem/call-barring.c
index 1009f0bd..f5d6ed7f 100644
--- a/drivers/atmodem/call-barring.c
+++ b/drivers/atmodem/call-barring.c
@@ -206,8 +206,8 @@ static gboolean at_call_barring_register(gpointer user)
return FALSE;
}
-static int at_call_barring_probe(struct ofono_call_barring *cb, int vendor,
- void *user)
+static int at_call_barring_probe(struct ofono_call_barring *cb,
+ unsigned int vendor, void *user)
{
GAtChat *chat = user;
diff --git a/drivers/atmodem/call-forwarding.c b/drivers/atmodem/call-forwarding.c
index 24fd8332..7fb5fb1f 100644
--- a/drivers/atmodem/call-forwarding.c
+++ b/drivers/atmodem/call-forwarding.c
@@ -262,7 +262,7 @@ static gboolean at_ccfc_register(gpointer user)
return FALSE;
}
-static int at_ccfc_probe(struct ofono_call_forwarding *cf, int vendor,
+static int at_ccfc_probe(struct ofono_call_forwarding *cf, unsigned int vendor,
void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/call-meter.c b/drivers/atmodem/call-meter.c
index 2b68d058..ef86c6de 100644
--- a/drivers/atmodem/call-meter.c
+++ b/drivers/atmodem/call-meter.c
@@ -365,7 +365,8 @@ static void at_call_meter_initialized(gboolean ok, GAtResult *result,
ofono_call_meter_register(cm);
}
-static int at_caoc_probe(struct ofono_call_meter *cm, int vendor, void *data)
+static int at_caoc_probe(struct ofono_call_meter *cm, unsigned int vendor,
+ void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/call-settings.c b/drivers/atmodem/call-settings.c
index d540ec16..a41023d7 100644
--- a/drivers/atmodem/call-settings.c
+++ b/drivers/atmodem/call-settings.c
@@ -365,8 +365,8 @@ static gboolean at_call_settings_register(gpointer user)
return FALSE;
}
-static int at_call_settings_probe(struct ofono_call_settings *cs, int vendor,
- void *data)
+static int at_call_settings_probe(struct ofono_call_settings *cs,
+ unsigned int vendor, void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/devinfo.c b/drivers/atmodem/devinfo.c
index 8e3123af..66a62353 100644
--- a/drivers/atmodem/devinfo.c
+++ b/drivers/atmodem/devinfo.c
@@ -189,7 +189,8 @@ static gboolean at_devinfo_register(gpointer user_data)
return FALSE;
}
-static int at_devinfo_probe(struct ofono_devinfo *info, int vendor, void *data)
+static int at_devinfo_probe(struct ofono_devinfo *info, unsigned int vendor,
+ void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 79c59a08..8a42854a 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -636,7 +636,8 @@ static void at_network_registration_initialized(gboolean ok, GAtResult *result,
ofono_netreg_register(netreg);
}
-static int at_netreg_probe(struct ofono_netreg *netreg, int vendor, void *data)
+static int at_netreg_probe(struct ofono_netreg *netreg, unsigned int vendor,
+ void *data)
{
GAtChat *chat = data;
struct netreg_data *nd;
diff --git a/drivers/atmodem/phonebook.c b/drivers/atmodem/phonebook.c
index f4d3ef1a..12c31b3c 100644
--- a/drivers/atmodem/phonebook.c
+++ b/drivers/atmodem/phonebook.c
@@ -518,7 +518,7 @@ static void at_list_charsets(struct ofono_phonebook *pb)
phonebook_not_supported(pb);
}
-static int at_phonebook_probe(struct ofono_phonebook *pb, int vendor,
+static int at_phonebook_probe(struct ofono_phonebook *pb, unsigned int vendor,
void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c
index 9f4577d9..8779ea71 100644
--- a/drivers/atmodem/sim.c
+++ b/drivers/atmodem/sim.c
@@ -440,7 +440,8 @@ static gboolean at_sim_register(gpointer user)
return FALSE;
}
-static int at_sim_probe(struct ofono_sim *sim, int vendor, void *data)
+static int at_sim_probe(struct ofono_sim *sim, unsigned int vendor,
+ void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/sms.c b/drivers/atmodem/sms.c
index 3ce104f4..d007c63e 100644
--- a/drivers/atmodem/sms.c
+++ b/drivers/atmodem/sms.c
@@ -73,7 +73,7 @@ struct sms_data {
char *cnma_ack_pdu;
int cnma_ack_pdu_len;
GAtChat *chat;
- int vendor;
+ unsigned int vendor;
};
struct cpms_request {
@@ -957,7 +957,8 @@ out:
at_csms_set_cb, sms, NULL);
}
-static int at_sms_probe(struct ofono_sms *sms, int vendor, void *user)
+static int at_sms_probe(struct ofono_sms *sms, unsigned int vendor,
+ void *user)
{
GAtChat *chat = user;
struct sms_data *data;
diff --git a/drivers/atmodem/ssn.c b/drivers/atmodem/ssn.c
index 7c7e86ea..78078ebe 100644
--- a/drivers/atmodem/ssn.c
+++ b/drivers/atmodem/ssn.c
@@ -111,7 +111,8 @@ static gboolean at_ssn_register(gpointer user)
return FALSE;
}
-static int at_ssn_probe(struct ofono_ssn *ssn, int vendor, void *data)
+static int at_ssn_probe(struct ofono_ssn *ssn, unsigned int vendor,
+ void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/ussd.c b/drivers/atmodem/ussd.c
index 3f454b16..a390f4f5 100644
--- a/drivers/atmodem/ussd.c
+++ b/drivers/atmodem/ussd.c
@@ -143,7 +143,8 @@ static gboolean at_ussd_register(gpointer user)
return FALSE;
}
-static int at_ussd_probe(struct ofono_ussd *ussd, int vendor, void *data)
+static int at_ussd_probe(struct ofono_ussd *ussd, unsigned int vendor,
+ void *data)
{
GAtChat *chat = data;
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c
index 9b115a5e..70f42d90 100644
--- a/drivers/atmodem/voicecall.c
+++ b/drivers/atmodem/voicecall.c
@@ -983,7 +983,7 @@ static void at_voicecall_initialized(gboolean ok, GAtResult *result,
ofono_voicecall_register(vc);
}
-static int at_voicecall_probe(struct ofono_voicecall *vc, int vendor,
+static int at_voicecall_probe(struct ofono_voicecall *vc, unsigned int vendor,
void *data)
{
GAtChat *chat = data;