aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/moxa/moxart_ether.c
diff options
context:
space:
mode:
authorSZ Lin <sz.lin@moxa.com>2017-07-29 18:42:38 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-29 14:02:07 -0700
commit2fcc440267d52a4d2745d486b4d5001669fe6ac8 (patch)
treeef5822ca7c9517f69b56926f82c6f379a0c4c6b2 /drivers/net/ethernet/moxa/moxart_ether.c
parentnet: moxa: Remove extra space after a cast (diff)
downloadlinux-dev-2fcc440267d52a4d2745d486b4d5001669fe6ac8.tar.xz
linux-dev-2fcc440267d52a4d2745d486b4d5001669fe6ac8.zip
net: moxa: Fix for typo in comment to function moxart_mac_setup_desc_ring()
Signed-off-by: SZ Lin <sz.lin@moxa.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/moxa/moxart_ether.c')
-rw-r--r--drivers/net/ethernet/moxa/moxart_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c
index 31e179a651ae..2e4effa9fe45 100644
--- a/drivers/net/ethernet/moxa/moxart_ether.c
+++ b/drivers/net/ethernet/moxa/moxart_ether.c
@@ -161,7 +161,7 @@ static void moxart_mac_setup_desc_ring(struct net_device *ndev)
priv->rx_head = 0;
- /* reset the MAC controller TX/RX desciptor base address */
+ /* reset the MAC controller TX/RX descriptor base address */
writel(priv->tx_base, priv->base + REG_TXR_BASE_ADDRESS);
writel(priv->rx_base, priv->base + REG_RXR_BASE_ADDRESS);
}