Messages in this thread | | | Date | Sat, 5 Dec 2009 14:21:40 +1100 | From | Stephen Rothwell <> | Subject | Re: [PATCH 05/31] Constify struct dma_map_ops for 2.6.32 v1 |
| |
Hi Emese,
On Sat, 05 Dec 2009 03:52:33 +0100 Emese Revfy <re.emese@gmail.com> wrote: > > @@ -1232,7 +1231,7 @@ struct vio_dev *vio_register_device_node(struct device_node *of_node) > viodev->dev.archdata.of_node = of_node_get(of_node); > > if (firmware_has_feature(FW_FEATURE_CMO)) > - vio_cmo_set_dma_ops(viodev); > + viodev->dev.archdata.dma_ops = &vio_dma_mapping_ops; > else > viodev->dev.archdata.dma_ops = &dma_iommu_ops; > set_iommu_table_base(&viodev->dev, vio_build_iommu_table(viodev));
You forgot to remove this hunk. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |