소스 검색

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 년 전
부모
커밋
d7f7842cbe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 {