git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61af2af
)
net: sunxi_emac: Remove non-DM_ETH code
author
Tom Rini
<trini@konsulko.com>
Sun, 27 Nov 2022 15:25:25 +0000
(10:25 -0500)
committer
Tom Rini
<trini@konsulko.com>
Wed, 7 Dec 2022 21:04:17 +0000
(16:04 -0500)
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/net/sunxi_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/sunxi_emac.c
b/drivers/net/sunxi_emac.c
index
8625e49
..
ad9e1ab
100644
(file)
--- a/
drivers/net/sunxi_emac.c
+++ b/
drivers/net/sunxi_emac.c
@@
-164,9
+164,7
@@
struct emac_eth_dev {
struct mii_dev *bus;
struct phy_device *phydev;
int link_printed;
-#ifdef CONFIG_DM_ETH
uchar rx_buf[EMAC_RX_BUFSIZE];
-#endif
};
struct emac_rxhdr {