summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorPrasanna S Panchamukhi2009-11-18 03:29:35 +0100
committerInaky Perez-Gonzalez2010-05-11 23:10:24 +0200
commit9d7fdf1ba9d5b8963bf8ffe29eea17f508e81bde (patch)
tree0b3b3573308ce69bedd3f9005a714d7c7bab9d48 /drivers/net/wimax/i2400m/i2400m.h
parentwimax: wimax_msg_alloc() returns ERR_PTR not null (diff)
downloadkernel-qcow2-linux-9d7fdf1ba9d5b8963bf8ffe29eea17f508e81bde.tar.gz
kernel-qcow2-linux-9d7fdf1ba9d5b8963bf8ffe29eea17f508e81bde.tar.xz
kernel-qcow2-linux-9d7fdf1ba9d5b8963bf8ffe29eea17f508e81bde.zip
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>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m.h')
-rw-r--r--drivers/net/wimax/i2400m/i2400m.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h
index 1babc55b1312..fa74777fd65f 100644
--- a/drivers/net/wimax/i2400m/i2400m.h
+++ b/drivers/net/wimax/i2400m/i2400m.h
@@ -885,7 +885,6 @@ extern int i2400m_rx(struct i2400m *, struct sk_buff *);
extern struct i2400m_msg_hdr *i2400m_tx_msg_get(struct i2400m *, size_t *);
extern void i2400m_tx_msg_sent(struct i2400m *);
-extern int i2400m_power_save_disabled;
/*
* Utility functions
@@ -992,10 +991,5 @@ extern int i2400m_barker_db_init(const char *);
extern void i2400m_barker_db_exit(void);
-/* Module parameters */
-
-extern int i2400m_idle_mode_disabled;
-extern int i2400m_rx_reorder_disabled;
-
#endif /* #ifndef __I2400M_H__ */