diff options
author | Michael Buesch <mbuesch@freenet.de> | 2006-02-19 08:12:22 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-27 11:18:36 -0500 |
commit | ad3f086c49aa682e493c935cda76f3850ee4a80e (patch) | |
tree | 9a7fb77068f1860ec58da7090a68fbf025033f0e | |
parent | ea0922b067a0863f9a4198740651fd47a22af7f1 (diff) |
[PATCH] bcm43xx: make bcm43xx_sprom_crc() static.
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index bcbd009a5339..b4767e42e8f4 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -901,7 +901,7 @@ static inline u8 bcm43xx_crc8(u8 crc, u8 data) | |||
901 | return t[crc ^ data]; | 901 | return t[crc ^ data]; |
902 | } | 902 | } |
903 | 903 | ||
904 | u8 bcm43xx_sprom_crc(const u16 *sprom) | 904 | static u8 bcm43xx_sprom_crc(const u16 *sprom) |
905 | { | 905 | { |
906 | int word; | 906 | int word; |
907 | u8 crc = 0xFF; | 907 | u8 crc = 0xFF; |
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.h b/drivers/net/wireless/bcm43xx/bcm43xx_main.h index 0c4bd08568c5..0a22e833915d 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.h +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.h | |||
@@ -276,8 +276,6 @@ int bcm43xx_pci_write_config_32(struct pci_dev *pdev, int offset, u32 val); | |||
276 | void bcm43xx_mac_suspend(struct bcm43xx_private *bcm); | 276 | void bcm43xx_mac_suspend(struct bcm43xx_private *bcm); |
277 | void bcm43xx_mac_enable(struct bcm43xx_private *bcm); | 277 | void bcm43xx_mac_enable(struct bcm43xx_private *bcm); |
278 | 278 | ||
279 | u8 bcm43xx_sprom_crc(const u16 *sprom); | ||
280 | |||
281 | void bcm43xx_controller_restart(struct bcm43xx_private *bcm, const char *reason); | 279 | void bcm43xx_controller_restart(struct bcm43xx_private *bcm, const char *reason); |
282 | 280 | ||
283 | int bcm43xx_sprom_read(struct bcm43xx_private *bcm, u16 *sprom); | 281 | int bcm43xx_sprom_read(struct bcm43xx_private *bcm, u16 *sprom); |