From 461cadbc62b098b49b55de10605d330c8b494889 Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Tue, 31 Mar 2009 20:16:52 +0000 Subject: [PATCH] net/fec_mpc52xx: fix BUG on missing dma_ops The driver triggers a BUG_ON() when allocating DMA buffers because the arch/powerpc dma_ops aren't in the net_device's struct device. This patch fixes the problem by using the parent of_device which does have the correct dma_ops set. Signed-off-by: Grant Likely Reviewed-by: Becky Bruce Signed-off-by: David S. Miller --- Reading git-format-patch failed