aboutsummaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-03-31 20:16:52 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-02 00:57:00 -0700
commit461cadbc62b098b49b55de10605d330c8b494889 (patch)
tree11c39ee9cc99d7d9acb28a7626f7ae926f4bed76 /drivers/sh
parentfa9a86ddc8ecd2830a5e773facc250f110300ae7 (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>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions