From: Grant Likely Date: Tue, 31 Mar 2009 20:16:52 +0000 (+0000) Subject: net/fec_mpc52xx: fix BUG on missing dma_ops X-Git-Tag: v2.6.30-rc1~246^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=461cadbc62b098b49b55de10605d330c8b494889;p=pandora-kernel.git 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-diff-tree failed