qcacmn: Use different assertion naming

Use different assertion name as same assertion name
is being used in more than once instance.

Fixed below error:
error: redefinition of typedef 'struct_size_4byte_assertion'
is a C11 feature [-Werror,-Wtypedef-redefinition]

Change-Id: I5809172a599123705b50613aae825a29433a4ba3
CRs-Fixed: 3357183
This commit is contained in:
Anbarasan Ganesan
2022-12-09 19:07:42 +05:30
کامیت شده توسط Madan Koyyalamudi
والد a15ee7308e
کامیت 0ce3a8e549

مشاهده پرونده

@@ -495,7 +495,7 @@ struct samp_edge_extra_bin_info {
} __packed;
/* Compile time assert to check struct size is divisible by 4 Bytes */
SPECTRAL_COMPILE_TIME_ASSERT(struct_size_4byte_assertion,
SPECTRAL_COMPILE_TIME_ASSERT(struct_samp_edge_extra_bin_size_4byte_assertion,
(sizeof(struct samp_edge_extra_bin_info) % 4)
== 0);
@@ -561,7 +561,7 @@ struct samp_detector_info {
} __packed;
/* Compile time assert to check struct size is divisible by 4 Bytes */
SPECTRAL_COMPILE_TIME_ASSERT(struct_size_4byte_assertion,
SPECTRAL_COMPILE_TIME_ASSERT(struct_samp_detector_info_size_4byte_assertion,
(sizeof(struct samp_detector_info) % 4) == 0);
/**
@@ -580,7 +580,7 @@ struct samp_freq_span_info {
} __packed;
/* Compile time assert to check struct size is divisible by 4 Bytes */
SPECTRAL_COMPILE_TIME_ASSERT(struct_size_4byte_assertion,
SPECTRAL_COMPILE_TIME_ASSERT(struct_samp_freq_span_info_size_4byte_assertion,
(sizeof(struct samp_freq_span_info) % 4) == 0);
/**