summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/common.h
diff options
context:
space:
mode:
authorLABBE Corentin2017-02-08 09:31:06 +0100
committerDavid S. Miller2017-02-08 21:11:22 +0100
commit280892226ba25289519c685a6d25ba2670f2d851 (patch)
treefbbd452143b7e59e8859db7538f5a762c7258c25 /drivers/net/ethernet/stmicro/stmmac/common.h
parentbpf, lpm: fix overflows in trie_alloc checks (diff)
downloadkernel-qcow2-linux-280892226ba25289519c685a6d25ba2670f2d851.tar.gz
kernel-qcow2-linux-280892226ba25289519c685a6d25ba2670f2d851.tar.xz
kernel-qcow2-linux-280892226ba25289519c685a6d25ba2670f2d851.zip
net: stmmac: fix the typo on MAC_RNABLE_RX
the define MAC_RNABLE_RX have a typo, rename it to MAC_ENABLE_RX Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h
index 75e2666df940..262a1c477a93 100644
--- a/drivers/net/ethernet/stmicro/stmmac/common.h
+++ b/drivers/net/ethernet/stmicro/stmmac/common.h
@@ -343,7 +343,7 @@ struct dma_features {
/* Common MAC defines */
#define MAC_CTRL_REG 0x00000000 /* MAC Control */
#define MAC_ENABLE_TX 0x00000008 /* Transmitter Enable */
-#define MAC_RNABLE_RX 0x00000004 /* Receiver Enable */
+#define MAC_ENABLE_RX 0x00000004 /* Receiver Enable */
/* Default LPI timers */
#define STMMAC_DEFAULT_LIT_LS 0x3E8