commit | 461cadbc62b098b49b55de10605d330c8b494889 | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Tue Mar 31 20:16:52 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 02 00:57:00 2009 -0700 |
tree | 11c39ee9cc99d7d9acb28a7626f7ae926f4bed76 | |
parent | fa9a86ddc8ecd2830a5e773facc250f110300ae7 [diff] |
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 <grant.likely@secretlab.ca> Reviewed-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>