wimax/i2400m: Move module params to other file so they can be static
This patch moves the module parameters to the file where they can be avoided to be global and allow them to be static. The module param : idle_mode_disabled and power_save_disabled are moved from driver.c to control.c. Also these module parameters are declared to be static as they are not required to be global anymore. The module param : rx_reorder_disabled is moved from driver.c file to rx.c file. Also this parameter is declated as static as it is not required to be global anymore. Signed-off-by: Prasanna S Panchamukhi<prasannax.s.panchamukhi@intel.com>
This commit is contained in:

committed by
Inaky Perez-Gonzalez

parent
3e02a06ae3
commit
9d7fdf1ba9
@@ -155,6 +155,11 @@
|
||||
#define D_SUBMODULE rx
|
||||
#include "debug-levels.h"
|
||||
|
||||
static int i2400m_rx_reorder_disabled; /* 0 (rx reorder enabled) by default */
|
||||
module_param_named(rx_reorder_disabled, i2400m_rx_reorder_disabled, int, 0644);
|
||||
MODULE_PARM_DESC(rx_reorder_disabled,
|
||||
"If true, RX reordering will be disabled.");
|
||||
|
||||
struct i2400m_report_hook_args {
|
||||
struct sk_buff *skb_rx;
|
||||
const struct i2400m_l3l4_hdr *l3l4_hdr;
|
||||
|
Reference in New Issue
Block a user