Selaa lähdekoodia

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
Anirban Sirkhell 5 vuotta sitten
vanhempi
sitoutus
d7f7842cbe
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      umac/regulatory/core/src/reg_opclass.h

+ 1 - 1
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)
 {