summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-02-06 17:22:10 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-11 08:47:46 +0100
commit351c2bd7a8bdeda30a2ef8e6d85b9f8550006686 (patch)
tree899de9fc48f3baafb93410d2a7c3e0515262742c /drivers/net/e1000
parenta794c02e9e4f68a0e33a867d5864d7615124d376 (diff)
downloadbarebox-351c2bd7a8bdeda30a2ef8e6d85b9f8550006686.tar.gz
barebox-351c2bd7a8bdeda30a2ef8e6d85b9f8550006686.tar.xz
net/e1000: Rename fill_rx() to e1000_fill_rx()
Rename fill_rx() to e1000_fill_rx() to match the naming convention of other functions in the file. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/e1000/main.c b/drivers/net/e1000/main.c
index 425d478edc..b728add7f3 100644
--- a/drivers/net/e1000/main.c
+++ b/drivers/net/e1000/main.c
@@ -3198,7 +3198,7 @@ static int e1000_sw_init(struct eth_device *edev)
return E1000_SUCCESS;
}
-static void fill_rx(struct e1000_hw *hw)
+static void e1000_fill_rx(struct e1000_hw *hw)
{
volatile struct e1000_rx_desc *rd;
volatile u32 *bla;
@@ -3387,7 +3387,7 @@ static void e1000_configure_rx(struct e1000_hw *hw)
e1000_write_reg(hw, E1000_RCTL, rctl);
- fill_rx(hw);
+ e1000_fill_rx(hw);
}
static int e1000_poll(struct eth_device *edev)
@@ -3405,7 +3405,7 @@ static int e1000_poll(struct eth_device *edev)
dma_sync_single_for_device(hw->packet_dma, len,
DMA_FROM_DEVICE);
- fill_rx(hw);
+ e1000_fill_rx(hw);
return 1;
}