aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorPrasanna S Panchamukhi <prasannax.s.panchamukhi@intel.com>2009-11-17 21:29:35 -0500
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-05-11 17:10:24 -0400
commit9d7fdf1ba9d5b8963bf8ffe29eea17f508e81bde (patch)
tree0b3b3573308ce69bedd3f9005a714d7c7bab9d48 /drivers/net/wimax/i2400m/i2400m.h
parent3e02a06ae3dce2eb804bb4afadb7067c80d6c096 (diff)
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 *);
885extern struct i2400m_msg_hdr *i2400m_tx_msg_get(struct i2400m *, size_t *); 885extern struct i2400m_msg_hdr *i2400m_tx_msg_get(struct i2400m *, size_t *);
886extern void i2400m_tx_msg_sent(struct i2400m *); 886extern void i2400m_tx_msg_sent(struct i2400m *);
887 887
888extern int i2400m_power_save_disabled;
889 888
890/* 889/*
891 * Utility functions 890 * Utility functions
@@ -992,10 +991,5 @@ extern int i2400m_barker_db_init(const char *);
992extern void i2400m_barker_db_exit(void); 991extern void i2400m_barker_db_exit(void);
993 992
994 993
995/* Module parameters */
996
997extern int i2400m_idle_mode_disabled;
998extern int i2400m_rx_reorder_disabled;
999
1000 994
1001#endif /* #ifndef __I2400M_H__ */ 995#endif /* #ifndef __I2400M_H__ */