zte: fix warnings with -Wdiscarded-qualifiers
zte/mm-plugin-zte.c:54:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 54 | { "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at }, | ^~~~~~~~~~~~ zte/mm-plugin-zte.c:55:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 55 | { "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at }, | ^~~~~~~~~~~~ zte/mm-plugin-zte.c:56:7: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 56 | { "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at }, | ^~~~~~~~~~~~
This commit is contained in:
@@ -51,9 +51,9 @@ MM_PLUGIN_DEFINE_MINOR_VERSION
|
|||||||
* We use this command also for checking AT support in the port.
|
* We use this command also for checking AT support in the port.
|
||||||
*/
|
*/
|
||||||
static const MMPortProbeAtCommand custom_at_probe[] = {
|
static const MMPortProbeAtCommand custom_at_probe[] = {
|
||||||
{ "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
|
{ (gchar *) "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
|
||||||
{ "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
|
{ (gchar *) "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
|
||||||
{ "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
|
{ (gchar *) "ATE0+CPMS?", 3, mm_port_probe_response_processor_is_at },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user