make b43_mac_{enable,suspend}() static
authorAdrian Bunk <bunk@kernel.org>
Tue, 4 Mar 2008 23:26:06 +0000 (15:26 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2008 20:01:04 +0000 (16:01 -0400)
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>
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/main.h

index 694e29570e5dd1aec0d658d4db2e15204aff75ec..6c58f8b5dcf57c196ee59d58eaf432fb1a1715f4 100644 (file)
@@ -2154,7 +2154,7 @@ static void b43_gpio_cleanup(struct b43_wldev *dev)
 }
 
 /* http://bcm-specs.sipsolutions.net/EnableMac */
-void b43_mac_enable(struct b43_wldev *dev)
+static void b43_mac_enable(struct b43_wldev *dev)
 {
        dev->mac_suspended--;
        B43_WARN_ON(dev->mac_suspended < 0);
@@ -2178,7 +2178,7 @@ void b43_mac_enable(struct b43_wldev *dev)
 }
 
 /* http://bcm-specs.sipsolutions.net/SuspendMAC */
-void b43_mac_suspend(struct b43_wldev *dev)
+static void b43_mac_suspend(struct b43_wldev *dev)
 {
        int i;
        u32 tmp;
index 1197975f9207e78676be0611d628f706e0022b2a..5230aeca78bf97ed9a544ce73c08f0bb4e514600 100644 (file)
@@ -106,9 +106,6 @@ void b43_dummy_transmission(struct b43_wldev *dev);
 
 void b43_wireless_core_reset(struct b43_wldev *dev, u32 flags);
 
-void b43_mac_suspend(struct b43_wldev *dev);
-void b43_mac_enable(struct b43_wldev *dev);
-
 void b43_controller_restart(struct b43_wldev *dev, const char *reason);
 
 #define B43_PS_ENABLED (1 << 0)        /* Force enable hardware power saving */
This page took 0.063648 seconds and 5 git commands to generate.