qcacmn: pass parameter array to set the debug levels
Pass an array of values each of which contains a combination of module-id and level. This way the levels can be set before all the dependent KO modules are loaded CRs-Fixed: 2042170, 2046694 Change-Id: If8c8260cc25e25bd821462f7d8860a13a5961148
This commit is contained in:

committed by
snandini

parent
ea7dc9339d
commit
2ef2787255
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2010-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -65,4 +65,10 @@ typedef uint32_t (*module_init_func_t)(void);
|
||||
*/
|
||||
#define qdf_declare_param(name, _type) __qdf_declare_param(name, _type)
|
||||
|
||||
/**
|
||||
* qdf_declare_param_array - Declare a module parameter.
|
||||
*/
|
||||
#define qdf_declare_param_array(name, _type, _num) \
|
||||
__qdf_declare_param_array(name, _type, _num)
|
||||
|
||||
#endif /*_QDF_MODULE_H*/
|
||||
|
Reference in New Issue
Block a user