projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: net: Adjust designware driver to support driver model
[platform/kernel/u-boot.git]
/
drivers
/
net
/
designware.h
diff --git
a/drivers/net/designware.h
b/drivers/net/designware.h
index
49d900c
..
4b9ec39
100644
(file)
--- a/
drivers/net/designware.h
+++ b/
drivers/net/designware.h
@@
-228,8
+228,9
@@
struct dw_eth_dev {
struct eth_mac_regs *mac_regs_p;
struct eth_dma_regs *dma_regs_p;
-
+#ifndef CONFIG_DM_ETH
struct eth_device *dev;
+#endif
struct phy_device *phydev;
struct mii_dev *bus;
};