From 72fdb38c4665a717f538f574f4811d8fa8642d10 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 19 Dec 2015 22:35:18 +0100 Subject: [PATCH] mt7603: rename mt7603_dma.h to mt7603_mac.h Signed-off-by: Felix Fietkau --- mt7603_dma.c | 3 ++- mt7603_init.c | 2 +- mt7603_mac.c | 2 +- mt7603_dma.h => mt7603_mac.h | 6 ++---- 4 files changed, 6 insertions(+), 7 deletions(-) rename mt7603_dma.h => mt7603_mac.h (99%) diff --git a/mt7603_dma.c b/mt7603_dma.c index 0d3e0f9c..f8785b25 100644 --- a/mt7603_dma.c +++ b/mt7603_dma.c @@ -12,7 +12,8 @@ */ #include "mt7603.h" -#include "mt7603_dma.h" +#include "mt7603_mac.h" +#include "dma.h" int mt7603_tx_queue_mcu(struct mt7603_dev *dev, enum mt76_txq_id qid, diff --git a/mt7603_init.c b/mt7603_init.c index aca74dcf..df90e9de 100644 --- a/mt7603_init.c +++ b/mt7603_init.c @@ -13,7 +13,7 @@ #include #include "mt7603.h" -#include "mt7603_dma.h" +#include "mt7603_mac.h" #include "mt7603_eeprom.h" struct mt7603_dev *mt7603_alloc_device(struct device *pdev) diff --git a/mt7603_mac.c b/mt7603_mac.c index 93f0ebbe..d21a0f14 100644 --- a/mt7603_mac.c +++ b/mt7603_mac.c @@ -12,7 +12,7 @@ */ #include "mt7603.h" -#include "mt7603_dma.h" +#include "mt7603_mac.h" #define MT_PSE_PAGE_SIZE 128 diff --git a/mt7603_dma.h b/mt7603_mac.h similarity index 99% rename from mt7603_dma.h rename to mt7603_mac.h index 880a132a..fa4f38f0 100644 --- a/mt7603_dma.h +++ b/mt7603_mac.h @@ -11,10 +11,8 @@ * GNU General Public License for more details. */ -#ifndef __MT7603_DMA_H -#define __MT7603_DMA_H - -#include "dma.h" +#ifndef __MT7603_MAC_H +#define __MT7603_MAC_H #define MT_RXD0_LENGTH GENMASK(15, 0) #define MT_RXD0_PKT_TYPE GENMASK(31, 29)