From d7f7842cbe682cb548d6239ce8e684c59ca732f0 Mon Sep 17 00:00:00 2001 From: Anirban Sirkhell Date: Wed, 15 Apr 2020 15:31:10 +0530 Subject: [PATCH] qcacmn: Fix compilation when HOST_OPCLASS is not defined Match the type of the first parameter of the function definition with the type of the first argument of function call. CRs-Fixed: 2670065 Change-Id: Ifd9bd138caf5b3e0a547bc9a8bd2da38f0f8f675 --- umac/regulatory/core/src/reg_opclass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/regulatory/core/src/reg_opclass.h b/umac/regulatory/core/src/reg_opclass.h index fee2e488bc62..53f27e66e94f 100644 --- a/umac/regulatory/core/src/reg_opclass.h +++ b/umac/regulatory/core/src/reg_opclass.h @@ -294,7 +294,7 @@ uint8_t reg_dmn_get_opclass_from_freq_width(uint8_t *country, } static inline -uint8_t reg_get_band_cap_from_op_class(uint8_t *country, +uint8_t reg_get_band_cap_from_op_class(const uint8_t *country, uint8_t num_of_opclass, const uint8_t *opclass) {