aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2007-09-25 14:53:43 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:53:02 -0400
commit2484591049ad1b92f585c1ff1c1d63f41e149faa (patch)
tree39e3be45f2161bc489077869278698af7f20b244 /drivers/net
parent725d99d4660fcd9abe37d7b733c9412a58465d13 (diff)
[PATCH] rt2x00: Make *_beacon_update static
Make rt61pci_beacon_update and rt73usb_beacon_update static, they are only used inside their own source file and then only for setting it as callback funtion for mac80211. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index dea7a8a4fa00..3edcd743dce5 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -2477,7 +2477,7 @@ static void rt61pci_reset_tsf(struct ieee80211_hw *hw)
2477 rt2x00pci_register_write(rt2x00dev, TXRX_CSR13, 0); 2477 rt2x00pci_register_write(rt2x00dev, TXRX_CSR13, 0);
2478} 2478}
2479 2479
2480int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, 2480static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb,
2481 struct ieee80211_tx_control *control) 2481 struct ieee80211_tx_control *control)
2482{ 2482{
2483 struct rt2x00_dev *rt2x00dev = hw->priv; 2483 struct rt2x00_dev *rt2x00dev = hw->priv;
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c
index aac13aa4039c..b18cc934ff82 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -1961,7 +1961,7 @@ static void rt73usb_reset_tsf(struct ieee80211_hw *hw)
1961 rt73usb_register_write(rt2x00dev, TXRX_CSR13, 0); 1961 rt73usb_register_write(rt2x00dev, TXRX_CSR13, 0);
1962} 1962}
1963 1963
1964int rt73usb_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, 1964static int rt73usb_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb,
1965 struct ieee80211_tx_control *control) 1965 struct ieee80211_tx_control *control)
1966{ 1966{
1967 struct rt2x00_dev *rt2x00dev = hw->priv; 1967 struct rt2x00_dev *rt2x00dev = hw->priv;