Browse Source

qcacmn: Add qdf abstraction for kstrtouint

Add QDF abstraction for kstrtouint

Change-Id: I02711b4d0e528e1db546dde18f1b65539ad55cc6
CRs-Fixed: 2327693
Dundi Raviteja 6 years ago
parent
commit
1c6217a666
2 changed files with 3 additions and 0 deletions
  1. 1 0
      qdf/inc/qdf_types.h
  2. 2 0
      qdf/linux/src/i_qdf_types.h

+ 1 - 0
qdf/inc/qdf_types.h

@@ -664,6 +664,7 @@ void qdf_vtrace_msg(QDF_MODULE_ID module, QDF_TRACE_LEVEL level,
 #define qdf_snprint   __qdf_snprint
 
 #define qdf_kstrtoint __qdf_kstrtoint
+#define qdf_kstrtouint __qdf_kstrtouint
 
 #ifdef WLAN_OPEN_P2P_INTERFACE
 /* This should match with WLAN_MAX_INTERFACES */

+ 2 - 0
qdf/linux/src/i_qdf_types.h

@@ -315,8 +315,10 @@ enum __qdf_net_wireless_evcode {
 #define __qdf_vsnprint            vsnprintf
 #define __qdf_toupper            toupper
 #define qdf_kstrtoint            __qdf_kstrtoint
+#define qdf_kstrtouint            __qdf_kstrtouint
 
 #define __qdf_kstrtoint          kstrtoint
+#define __qdf_kstrtouint          kstrtouint
 
 #define __QDF_DMA_BIDIRECTIONAL  DMA_BIDIRECTIONAL
 #define __QDF_DMA_TO_DEVICE      DMA_TO_DEVICE