[PATCH 1/1] iommu/tegra: Add device tree support for SMMU
Stephen Warren
swarren at wwwdotorg.org
Sat Apr 14 05:35:06 EST 2012
On 04/13/2012 04:23 AM, Hiroshi Doyu wrote:
> From: Hiroshi DOYU <hdoyu at nvidia.com>
>
> 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);
More information about the devicetree-discuss
mailing list