dm: timer: uclass: Add flag to control sequence numbering
[oweals/u-boot.git] / drivers / net / designware.h
index 49d900cb3f98a684d794d98e45b86a4ed8b26874..4b9ec39cc82a05e0b33ecc85a8b914c85da01777 100644 (file)
@@ -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;
 };