From: Adrian Bunk <bunk@xxxxxxxxxx> b43_mac_{enable,suspend}() can now become static. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> Acked-by: Michael Buesch <mb@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/wireless/b43/main.c | 4 ++-- drivers/net/wireless/b43/main.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff -puN drivers/net/wireless/b43/main.c~make-b43_mac_enablesuspend-static drivers/net/wireless/b43/main.c --- a/drivers/net/wireless/b43/main.c~make-b43_mac_enablesuspend-static +++ a/drivers/net/wireless/b43/main.c @@ -2043,7 +2043,7 @@ static void b43_gpio_cleanup(struct b43_ } /* 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); @@ -2067,7 +2067,7 @@ void b43_mac_enable(struct b43_wldev *de } /* 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; diff -puN drivers/net/wireless/b43/main.h~make-b43_mac_enablesuspend-static drivers/net/wireless/b43/main.h --- a/drivers/net/wireless/b43/main.h~make-b43_mac_enablesuspend-static +++ a/drivers/net/wireless/b43/main.h @@ -102,9 +102,6 @@ void b43_dummy_transmission(struct b43_w 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 */ _ -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html