Re: [PATCH 05/31] Constify struct dma_map_ops for 2.6.32 v1

From: Stephen Rothwell
Date: Fri Dec 04 2009 - 22:21:53 EST


Hi Emese,

On Sat, 05 Dec 2009 03:52:33 +0100 Emese Revfy <re.emese@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature