diff options
Diffstat (limited to 'drivers/atmodem/sms.c')
-rw-r--r-- | drivers/atmodem/sms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/atmodem/sms.c b/drivers/atmodem/sms.c index f6f737ea..fde90ba3 100644 --- a/drivers/atmodem/sms.c +++ b/drivers/atmodem/sms.c @@ -210,9 +210,9 @@ err: CALLBACK_WITH_FAILURE(cb, -1, cbd->data); } -static void at_cmgs(struct ofono_sms *sms, unsigned char *pdu, int pdu_len, - int tpdu_len, int mms, ofono_sms_submit_cb_t cb, - void *user_data) +static void at_cmgs(struct ofono_sms *sms, const unsigned char *pdu, + int pdu_len, int tpdu_len, int mms, + ofono_sms_submit_cb_t cb, void *user_data) { struct sms_data *data = ofono_sms_get_data(sms); struct cb_data *cbd = cb_data_new(cb, user_data); |