aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-01-08 18:45:57 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-01-09 10:56:40 -0500
commitb58df4461921dad57707fbedee11e6f79f58b1e6 (patch)
treee846714980142f5bb48e6f64b0692e3d0045266a /drivers/net/wireless/mwifiex/main.h
parent63791ccd4690e5c6b3f060bcd2b846e31bd0b423 (diff)
mwifiex: use a function to replace two copies of a code fragment
Instead of having two copies of the code for device tree cfgdata downloading, add a function to improve the code. Reviewed-by: Paul Stewart <pstew@chromium.org> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index ab3416449bfd..d8ad554ce39f 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -1155,6 +1155,7 @@ void mwifiex_11h_process_join(struct mwifiex_private *priv, u8 **buffer,
1155int mwifiex_11h_handle_event_chanswann(struct mwifiex_private *priv); 1155int mwifiex_11h_handle_event_chanswann(struct mwifiex_private *priv);
1156int mwifiex_dnld_dt_cfgdata(struct mwifiex_private *priv, 1156int mwifiex_dnld_dt_cfgdata(struct mwifiex_private *priv,
1157 struct device_node *node, const char *prefix); 1157 struct device_node *node, const char *prefix);
1158void mwifiex_dnld_txpwr_table(struct mwifiex_private *priv);
1158 1159
1159extern const struct ethtool_ops mwifiex_ethtool_ops; 1160extern const struct ethtool_ops mwifiex_ethtool_ops;
1160 1161