On 04/13/2012 04:23 AM, Hiroshi Doyu wrote:
> From: Hiroshi DOYU <[email protected]>
> 
> Add device tree support for Tegra30 IOMMU(SMMU).

> diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c

> +#ifdef CONFIG_OF
> +static struct of_device_id tegra_smmu_of_match[] __devinitdata = {
> +     { .compatible = "nvidia,tegra30-smmu", },
> +     { },
> +};
> +#endif

You probably want to add the following here, inside the ifdef:

MODULE_DEVICE_TABLE(of, tegra_smmu_of_match);
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to