add a mt76x2_ prefix to all files

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2015-12-06 16:54:53 +01:00
parent 31c11fdb05
commit a0ee20716f
24 changed files with 46 additions and 46 deletions
+7 -7
View File
@@ -1,11 +1,11 @@
EXTRA_CFLAGS += -Werror
obj-m := mt76pci.o
obj-m := mt76x2e.o
mt76pci-y := \
pci.o dma.o \
main.o init.o debugfs.o tx.o util.o \
core.o mac.o eeprom.o mcu.o phy.o \
trace.o
mt76x2e-y := \
mt76x2_pci.o mt76x2_dma.o \
mt76x2_main.o mt76x2_init.o mt76x2_debugfs.o mt76x2_tx.o mt76x2_util.o \
mt76x2_core.o mt76x2_mac.o mt76x2_eeprom.o mt76x2_mcu.o mt76x2_phy.o \
mt76x2_trace.o
mt76pci-$(CONFIG_OF) += of.o
mt76x2e-$(CONFIG_OF) += mt76x2_of.o
+3 -3
View File
@@ -44,9 +44,9 @@
#define MT_CALIBRATE_INTERVAL HZ
#include "regs.h"
#include "util.h"
#include "mac.h"
#include "mt76x2_regs.h"
#include "mt76x2_util.h"
#include "mt76x2_mac.h"
struct mt76x2_queue_entry {
struct sk_buff *skb;
+2 -2
View File
@@ -12,8 +12,8 @@
*/
#include <linux/delay.h>
#include "mt76.h"
#include "trace.h"
#include "mt76x2.h"
#include "mt76x2_trace.h"
bool mt76x2_poll(struct mt76x2_dev *dev, u32 offset, u32 mask, u32 val,
int timeout)
+1 -1
View File
@@ -12,7 +12,7 @@
*/
#include <linux/debugfs.h>
#include "mt76.h"
#include "mt76x2.h"
static int
mt76x2_reg_set(void *data, u64 val)
+2 -2
View File
@@ -11,8 +11,8 @@
* GNU General Public License for more details.
*/
#include "mt76.h"
#include "dma.h"
#include "mt76x2.h"
#include "mt76x2_dma.h"
struct mt76x2_txwi_cache {
struct mt76x2_txwi txwi;
View File
+3 -3
View File
@@ -13,9 +13,9 @@
#include <linux/etherdevice.h>
#include <asm/unaligned.h>
#include "mt76.h"
#include "eeprom.h"
#include "of.h"
#include "mt76x2.h"
#include "mt76x2_eeprom.h"
#include "mt76x2_of.h"
#define EE_FIELD(_name, _value) [MT_EE_##_name] = (_value) | 1
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef __MT76_EEPROM_H
#define __MT76_EEPROM_H
#include "mt76.h"
#include "mt76x2.h"
enum mt76x2_eeprom_field {
MT_EE_CHIP_ID = 0x000,
+3 -3
View File
@@ -12,9 +12,9 @@
*/
#include <linux/delay.h>
#include "mt76.h"
#include "eeprom.h"
#include "mcu.h"
#include "mt76x2.h"
#include "mt76x2_eeprom.h"
#include "mt76x2_mcu.h"
static bool
mt76x2_wait_for_mac(struct mt76x2_dev *dev)
+4 -4
View File
@@ -12,10 +12,10 @@
*/
#include <linux/delay.h>
#include "mt76.h"
#include "mcu.h"
#include "eeprom.h"
#include "trace.h"
#include "mt76x2.h"
#include "mt76x2_mcu.h"
#include "mt76x2_eeprom.h"
#include "mt76x2_trace.h"
void mt76x2_mac_set_bssid(struct mt76x2_dev *dev, u8 idx, const u8 *addr)
{
View File
+1 -1
View File
@@ -11,7 +11,7 @@
* GNU General Public License for more details.
*/
#include "mt76.h"
#include "mt76x2.h"
static int
mt76x2_start(struct ieee80211_hw *hw)
+4 -4
View File
@@ -15,10 +15,10 @@
#include <linux/firmware.h>
#include <linux/delay.h>
#include "mt76.h"
#include "mcu.h"
#include "dma.h"
#include "eeprom.h"
#include "mt76x2.h"
#include "mt76x2_mcu.h"
#include "mt76x2_dma.h"
#include "mt76x2_eeprom.h"
struct mt76x2_fw_header {
__le32 ilm_len;
View File
+3 -3
View File
@@ -14,9 +14,9 @@
#include <linux/of.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include "mt76.h"
#include "eeprom.h"
#include "of.h"
#include "mt76x2.h"
#include "mt76x2_eeprom.h"
#include "mt76x2_of.h"
static int mt76x2_check_eeprom(struct mt76x2_dev *dev, const char *type)
{
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef __MT76_OF_H
#define __MT76_OF_H
#include "mt76.h"
#include "mt76x2.h"
#ifdef CONFIG_OF
+2 -2
View File
@@ -15,8 +15,8 @@
#include <linux/module.h>
#include <linux/pci.h>
#include "mt76.h"
#include "trace.h"
#include "mt76x2.h"
#include "mt76x2_trace.h"
static const struct pci_device_id mt76pci_device_table[] = {
{ PCI_DEVICE(0x14c3, 0x7662) },
+3 -3
View File
@@ -12,9 +12,9 @@
*/
#include <linux/delay.h>
#include "mt76.h"
#include "mcu.h"
#include "eeprom.h"
#include "mt76x2.h"
#include "mt76x2_mcu.h"
#include "mt76x2_eeprom.h"
static bool
mt76x2_phy_rf_op(struct mt76x2_dev *dev, bool idx, u16 offset, bool write)
View File
+1 -1
View File
@@ -15,6 +15,6 @@
#ifndef __CHECKER__
#define CREATE_TRACE_POINTS
#include "trace.h"
#include "mt76x2_trace.h"
#endif
+3 -3
View File
@@ -15,10 +15,10 @@
#define __MT76_TRACE_H
#include <linux/tracepoint.h>
#include "mt76.h"
#include "mt76x2.h"
#undef TRACE_SYSTEM
#define TRACE_SYSTEM mt76
#define TRACE_SYSTEM mt76x2
#define MAXNAME 32
#define DEV_ENTRY __array(char, wiphy_name, 32)
@@ -168,6 +168,6 @@ TRACE_EVENT(dev_irq,
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE trace
#define TRACE_INCLUDE_FILE mt76x2_trace
#include <trace/define_trace.h>
+1 -1
View File
@@ -11,7 +11,7 @@
* GNU General Public License for more details.
*/
#include "mt76.h"
#include "mt76x2.h"
struct beacon_bc_data {
struct mt76x2_dev *dev;
+1 -1
View File
@@ -11,7 +11,7 @@
* GNU General Public License for more details.
*/
#include "mt76.h"
#include "mt76x2.h"
void mt76x2_remove_hdr_pad(struct sk_buff *skb)
{
View File