Commit 7a07adcd authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Felix Fietkau
Browse files

mt76: rename mt76x02_util.h in mt76x02.h



Rename mt76x02_util.h header file in mt76x02.h since now contains
all mt76x02 related definitions and not just utility routines
declarations

Signed-off-by: default avatarLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 8e3ed001
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -18,9 +18,6 @@
#include "eeprom.h"
#include "trace.h"
#include "mcu.h"
#include "../mt76x02_util.h"
#include "../mt76x02_dma.h"

#include "initvals.h"

static void mt76x0_vht_cap_mask(struct ieee80211_supported_band *sband)
+2 −2
Original line number Diff line number Diff line
@@ -13,10 +13,10 @@
 * GNU General Public License for more details.
 */

#include <linux/etherdevice.h>

#include "mt76x0.h"
#include "trace.h"
#include "../mt76x02_util.h"
#include <linux/etherdevice.h>

void mt76x0_mac_set_protection(struct mt76x02_dev *dev, bool legacy_prot,
			       int ht_mode)
+1 −2
Original line number Diff line number Diff line
@@ -13,9 +13,8 @@
 * GNU General Public License for more details.
 */

#include "mt76x0.h"
#include "../mt76x02_util.h"
#include <linux/etherdevice.h>
#include "mt76x0.h"

int mt76x0_config(struct ieee80211_hw *hw, u32 changed)
{
+1 −4
Original line number Diff line number Diff line
@@ -25,10 +25,7 @@
#include <net/mac80211.h>
#include <linux/debugfs.h>

#include "../mt76.h"
#include "../mt76x02_regs.h"
#include "../mt76x02_mac.h"
#include "../mt76x02_util.h"
#include "../mt76x02.h"
#include "eeprom.h"

#define MT_CALIBRATE_INTERVAL		(4 * HZ)
+0 −2
Original line number Diff line number Diff line
@@ -20,8 +20,6 @@

#include "mt76x0.h"
#include "mcu.h"
#include "../mt76x02_dma.h"
#include "../mt76x02_util.h"

static int mt76x0e_start(struct ieee80211_hw *hw)
{
Loading