]> err.no Git - linux-2.6/commitdiff
[PATCH] bcm43xx: make bcm43xx_sprom_crc() static.
authorMichael Buesch <mbuesch@freenet.de>
Sun, 19 Feb 2006 13:12:22 +0000 (14:12 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Mar 2006 16:18:36 +0000 (11:18 -0500)
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c
drivers/net/wireless/bcm43xx/bcm43xx_main.h

index bcbd009a533929315b951edec39fb5c8fc84690c..b4767e42e8f4833f4505c87d0812287ed1384060 100644 (file)
@@ -901,7 +901,7 @@ static inline u8 bcm43xx_crc8(u8 crc, u8 data)
        return t[crc ^ data];
 }
 
-u8 bcm43xx_sprom_crc(const u16 *sprom)
+static u8 bcm43xx_sprom_crc(const u16 *sprom)
 {
        int word;
        u8 crc = 0xFF;
index 0c4bd08568c56dfa0c075988467f0d5ce26708f0..0a22e833915d0a8804a2acab92f8f94bf8a3ad50 100644 (file)
@@ -276,8 +276,6 @@ int bcm43xx_pci_write_config_32(struct pci_dev *pdev, int offset, u32 val);
 void bcm43xx_mac_suspend(struct bcm43xx_private *bcm);
 void bcm43xx_mac_enable(struct bcm43xx_private *bcm);
 
-u8 bcm43xx_sprom_crc(const u16 *sprom);
-
 void bcm43xx_controller_restart(struct bcm43xx_private *bcm, const char *reason);
 
 int bcm43xx_sprom_read(struct bcm43xx_private *bcm, u16 *sprom);