rt2x00: rt2800lib: rename rt2800_init_bbb_early to rt2800_init_bbp_early
authorGabor Juhos <juhosg@openwrt.org>
Fri, 19 Apr 2013 08:13:52 +0000 (10:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:26 +0000 (15:20 -0400)
The function is used for BBP register initialization,
fix the typo in the function name to reflect that.

The patch contains no functional changes.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c

index 35f58bbf25c19d1bd8f8ede322ffc5b1341d3063..830560775a44783eb583fd52bcbde7127635ddd1 100644 (file)
@@ -3933,7 +3933,7 @@ static void rt2800_init_bbp_5592_glrt(struct rt2x00_dev *rt2x00dev)
        }
 };
 
-static void rt2800_init_bbb_early(struct rt2x00_dev *rt2x00dev)
+static void rt2800_init_bbp_early(struct rt2x00_dev *rt2x00dev)
 {
        rt2800_bbp_write(rt2x00dev, 65, 0x2C);
        rt2800_bbp_write(rt2x00dev, 66, 0x38);
@@ -3959,7 +3959,7 @@ static void rt2800_init_bbp_5592(struct rt2x00_dev *rt2x00dev)
        u16 eeprom;
        u8 value;
 
-       rt2800_init_bbb_early(rt2x00dev);
+       rt2800_init_bbp_early(rt2x00dev);
 
        rt2800_bbp_read(rt2x00dev, 105, &value);
        rt2x00_set_field8(&value, BBP105_MLD,