ucc_geth: Pass proper device to DMA routines, otherwise oops happens
[platform/kernel/linux-starfive.git] / drivers / net / ucc_geth.h
index 48fde5a..2f8ee7c 100644 (file)
@@ -1128,7 +1128,8 @@ struct ucc_geth_info {
 struct ucc_geth_private {
        struct ucc_geth_info *ug_info;
        struct ucc_fast_private *uccf;
-       struct net_device *dev;
+       struct device *dev;
+       struct net_device *ndev;
        struct napi_struct napi;
        struct work_struct timeout_work;
        struct ucc_geth __iomem *ug_regs;