aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/b43/main.c4
-rw-r--r--drivers/net/wireless/b43/main.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 694e29570e5d..6c58f8b5dcf5 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2154,7 +2154,7 @@ static void b43_gpio_cleanup(struct b43_wldev *dev)
2154} 2154}
2155 2155
2156/* http://bcm-specs.sipsolutions.net/EnableMac */ 2156/* http://bcm-specs.sipsolutions.net/EnableMac */
2157void b43_mac_enable(struct b43_wldev *dev) 2157static void b43_mac_enable(struct b43_wldev *dev)
2158{ 2158{
2159 dev->mac_suspended--; 2159 dev->mac_suspended--;
2160 B43_WARN_ON(dev->mac_suspended < 0); 2160 B43_WARN_ON(dev->mac_suspended < 0);
@@ -2178,7 +2178,7 @@ void b43_mac_enable(struct b43_wldev *dev)
2178} 2178}
2179 2179
2180/* http://bcm-specs.sipsolutions.net/SuspendMAC */ 2180/* http://bcm-specs.sipsolutions.net/SuspendMAC */
2181void b43_mac_suspend(struct b43_wldev *dev) 2181static void b43_mac_suspend(struct b43_wldev *dev)
2182{ 2182{
2183 int i; 2183 int i;
2184 u32 tmp; 2184 u32 tmp;
diff --git a/drivers/net/wireless/b43/main.h b/drivers/net/wireless/b43/main.h
index 1197975f9207..5230aeca78bf 100644
--- a/drivers/net/wireless/b43/main.h
+++ b/drivers/net/wireless/b43/main.h
@@ -106,9 +106,6 @@ void b43_dummy_transmission(struct b43_wldev *dev);
106 106
107void b43_wireless_core_reset(struct b43_wldev *dev, u32 flags); 107void b43_wireless_core_reset(struct b43_wldev *dev, u32 flags);
108 108
109void b43_mac_suspend(struct b43_wldev *dev);
110void b43_mac_enable(struct b43_wldev *dev);
111
112void b43_controller_restart(struct b43_wldev *dev, const char *reason); 109void b43_controller_restart(struct b43_wldev *dev, const char *reason);
113 110
114#define B43_PS_ENABLED (1 << 0) /* Force enable hardware power saving */ 111#define B43_PS_ENABLED (1 << 0) /* Force enable hardware power saving */