projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: fec: fix build warnings for 64bits support
[oweals/u-boot.git]
/
drivers
/
net
/
e1000.h
diff --git
a/drivers/net/e1000.h
b/drivers/net/e1000.h
index e46edcd4e1d845e17a5e07739e7166eea2353a77..fcb7df0d83fc00d20731841c7035623aa8224aeb 100644
(file)
--- a/
drivers/net/e1000.h
+++ b/
drivers/net/e1000.h
@@
-1084,7
+1084,11
@@
struct e1000_hw {
#endif
unsigned int cardnum;
+#ifdef CONFIG_DM_ETH
+ struct udevice *pdev;
+#else
pci_dev_t pdev;
+#endif
uint8_t *hw_addr;
e1000_mac_type mac_type;
e1000_phy_type phy_type;