mtk: fix warnings with -Wdiscarded-qualifiers
mtk/mm-broadband-modem-mtk.c:727:6: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 727 | {"+ECSQ=2", 5, FALSE, NULL}, | ^~~~~~~~~ mtk/mm-broadband-modem-mtk.c:733:6: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 733 | {"+ECSQ=0", 5, FALSE, NULL}, | ^~~~~~~~~
This commit is contained in:
@@ -724,14 +724,14 @@ modem_3gpp_cleanup_unsolicited_events (MMIfaceModem3gpp *self,
|
||||
|
||||
static const MMBaseModemAtCommand unsolicited_enable_sequence[] = {
|
||||
/* enable signal URC */
|
||||
{"+ECSQ=2", 5, FALSE, NULL},
|
||||
{NULL}
|
||||
{ (gchar *) "+ECSQ=2", 5, FALSE, NULL },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static const MMBaseModemAtCommand unsolicited_disable_sequence[] = {
|
||||
/* disable signal URC */
|
||||
{"+ECSQ=0", 5, FALSE, NULL},
|
||||
{NULL}
|
||||
{ (gchar *) "+ECSQ=0" , 5, FALSE, NULL },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user