Skip to content

Commit

Permalink
make b43_mac_{enable,suspend}() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and John W. Linville committed Mar 13, 2008
1 parent ba73d4c commit affe0a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions drivers/net/wireless/b43/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit affe0a0

Please sign in to comment.