aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-04 18:26:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-03-13 16:01:04 -0400
commitaffe0a02189eeec43757993b1ccb65f24e39afa5 (patch)
treec390a6af91cdfdfbc058186ed82a58e66bdbe637
parentba73d4c84a7344f1b5635c2b4e96796e8c13a126 (diff)
make b43_mac_{enable,suspend}() static
b43_mac_{enable,suspend}() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-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 */