sms: Constify submit method
authorDenis Kenzior <denkenz@gmail.com>
Sat, 16 Jun 2012 13:03:41 +0000 (08:03 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Sat, 16 Jun 2012 14:50:05 +0000 (09:50 -0500)
include/sms.h

index ce7fe13..e926056 100644 (file)
@@ -51,7 +51,7 @@ struct ofono_sms_driver {
        void (*sca_set)(struct ofono_sms *sms,
                        const struct ofono_phone_number *sca,
                        ofono_sms_sca_set_cb_t cb, void *data);
-       void (*submit)(struct ofono_sms *sms, unsigned char *pdu,
+       void (*submit)(struct ofono_sms *sms, const unsigned char *pdu,
                        int pdu_len, int tpdu_len, int mms,
                        ofono_sms_submit_cb_t cb, void *data);
        void (*bearer_query)(struct ofono_sms *sms,