diff options
author | Joerg Roedel <jroedel@suse.de> | 2023-01-13 20:15:28 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-01-13 22:30:55 +0100 |
commit | bb649412d39f18eb2a8b7956209a068a08f4bc1e (patch) | |
tree | 066f71e8d5e3be2d103bb58c682f6c341905861d | |
parent | 584d334b139325aa7468fc2eb045864f260298d1 (diff) | |
download | linux-bb649412d39f18eb2a8b7956209a068a08f4bc1e.tar.gz linux-bb649412d39f18eb2a8b7956209a068a08f4bc1e.tar.bz2 linux-bb649412d39f18eb2a8b7956209a068a08f4bc1e.zip |
iommu/fsl_pamu: Fix compile error after adding set_platform_dma_ops
The struct initializer for set_platform_dma_ops uses a semicolon as
separator where a comma is required. Fix the compile error by using the
correct separator.
Fixes: c1fe9119ee70 ("iommu: Add set_platform_dma_ops callbacks")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230113191528.23638-1-joro@8bytes.org
-rw-r--r-- | drivers/iommu/fsl_pamu_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/fsl_pamu_domain.c b/drivers/iommu/fsl_pamu_domain.c index e123161c211a..bce372297099 100644 --- a/drivers/iommu/fsl_pamu_domain.c +++ b/drivers/iommu/fsl_pamu_domain.c @@ -452,7 +452,7 @@ static const struct iommu_ops fsl_pamu_ops = { .domain_alloc = fsl_pamu_domain_alloc, .probe_device = fsl_pamu_probe_device, .device_group = fsl_pamu_device_group, - .set_platform_dma_ops = fsl_pamu_set_platform_dma; + .set_platform_dma_ops = fsl_pamu_set_platform_dma, .default_domain_ops = &(const struct iommu_domain_ops) { .attach_dev = fsl_pamu_attach_device, .iova_to_phys = fsl_pamu_iova_to_phys, |