]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ucc_geth.h
ucc_geth: Pass proper device to DMA routines, otherwise oops happens
[linux-2.6-omap-h63xx.git] / drivers / net / ucc_geth.h
index 48fde5ad6a3406cf17a4d7d5f04b5d070314fc93..2f8ee7c87efe944e6e788e861ee407ce97018a59 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;