]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: qualcomm: rename qca_framing.c to qca_7k_common.c
authorStefan Wahren <stefan.wahren@i2se.com>
Mon, 29 May 2017 11:57:18 +0000 (13:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 17:57:30 +0000 (13:57 -0400)
As preparation for the upcoming UART driver we need a module
which contains common functions for both interfaces. The module
qca_framing is a good candidate but renaming to qca_7k_common would
make it clear.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/Makefile
drivers/net/ethernet/qualcomm/qca_7k_common.c [moved from drivers/net/ethernet/qualcomm/qca_framing.c with 99% similarity]
drivers/net/ethernet/qualcomm/qca_7k_common.h [moved from drivers/net/ethernet/qualcomm/qca_framing.h with 100% similarity]
drivers/net/ethernet/qualcomm/qca_spi.c
drivers/net/ethernet/qualcomm/qca_spi.h

index aacb0a585c68c7df878fcc7632acb9211c7f0af9..5e17bf116e751f46901bf9526095c87fe2e2a42c 100644 (file)
@@ -3,6 +3,6 @@
 #
 
 obj-$(CONFIG_QCA7000) += qcaspi.o
-qcaspi-objs := qca_spi.o qca_framing.o qca_7k.o qca_debug.o
+qcaspi-objs := qca_spi.o qca_7k_common.o qca_7k.o qca_debug.o
 
 obj-y += emac/
similarity index 99%
rename from drivers/net/ethernet/qualcomm/qca_framing.c
rename to drivers/net/ethernet/qualcomm/qca_7k_common.c
index 2341f2bf574d0b557cc03a0509095c86a54bbf32..6d17fbd47c6aebe8d7e8b56baf10d60063310079 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <linux/kernel.h>
 
-#include "qca_framing.h"
+#include "qca_7k_common.h"
 
 u16
 qcafrm_create_header(u8 *buf, u16 length)
index ee90af31bd65facde4fd6bb80202e9122254f4b0..43cc7de0b39587636097d9b6583f5ead9d6f52f9 100644 (file)
@@ -43,8 +43,8 @@
 #include <linux/types.h>
 
 #include "qca_7k.h"
+#include "qca_7k_common.h"
 #include "qca_debug.h"
-#include "qca_framing.h"
 #include "qca_spi.h"
 
 #define MAX_DMA_BURST_LEN 5000
index 064853ddd678703398705c702307f4bafa920a1a..fc4beb1b32d1a070a101b3c48cc092bd14561150 100644 (file)
@@ -32,7 +32,7 @@
 #include <linux/spi/spi.h>
 #include <linux/types.h>
 
-#include "qca_framing.h"
+#include "qca_7k_common.h"
 
 #define QCASPI_DRV_VERSION "0.2.7-i"
 #define QCASPI_DRV_NAME    "qcaspi"