#include <linux/iommu.h>
#include <linux/of.h>
#include <linux/platform_device.h>
struct grant_dma_iommu_device { … };
static struct iommu_device *grant_dma_iommu_probe_device(struct device *dev)
{ … }
static const struct iommu_ops grant_dma_iommu_ops = …;
static const struct of_device_id grant_dma_iommu_of_match[] = …;
static int grant_dma_iommu_probe(struct platform_device *pdev)
{ … }
static void grant_dma_iommu_remove(struct platform_device *pdev)
{ … }
static struct platform_driver grant_dma_iommu_driver = …;
static int __init grant_dma_iommu_init(void)
{ … }
subsys_initcall(grant_dma_iommu_init);