aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-09-06 11:18:51 +0200
committerFelix Fietkau <nbd@nbd.name>2018-09-19 12:31:09 +0200
commit540399d5fb79154f51f9ce33f7512485e7c26e0c (patch)
treec1d3d029486c3832f03f6b8174f5024eb861a6c1 /drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h
parentmt76x0: do not free/alloc buffers during suspend/resume (diff)
downloadlinux-dev-540399d5fb79154f51f9ce33f7512485e7c26e0c.tar.xz
linux-dev-540399d5fb79154f51f9ce33f7512485e7c26e0c.zip
mt76x0: remove has_{2,5}ghz fields of mt76x0_eeprom_params
Remove has_2ghz/has_5ghz fields of mt76x0_eeprom_params data structure and use mt76_dev ones. This is a preliminary patch to use shared routines for device allocation Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h b/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h
index e37b573aed7b..cd0f14361405 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h
@@ -112,9 +112,6 @@ struct mt76x0_eeprom_params {
u8 tx_pwr_per_chan[58];
struct reg_channel_bounds reg;
-
- bool has_2ghz;
- bool has_5ghz;
};
int mt76x0_eeprom_init(struct mt76x0_dev *dev);