]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: move mt76x02_rate_power_val in mt76x02-lib module
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sat, 22 Sep 2018 11:45:32 +0000 (13:45 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Oct 2018 10:34:03 +0000 (12:34 +0200)
commit02a4251d44bdb1e8dda61919f3a4a85aaebfb771
tree9235cb12106da0a0dd01c27cb921fd0a9c333151
parentc36a3cc5a57e3753bacca14cecd0a591fb49f40d
mt76: move mt76x02_rate_power_val in mt76x02-lib module

Move mt76x02_rate_power_val and mt76x2_sign_extend_optional utility
routines in mt76x02_eeprom.h in order to reuse them in mt76x0 eeprom
parsing

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c