iommu-platform.c (cf87766dd6f9ddcceaa8ee26e3cbd7538e42dd19) iommu-platform.c (e70140ba0d2b1a30467d4af6bcfe761327b9ec95)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * RISC-V IOMMU as a platform device
4 *
5 * Copyright © 2023 FORTH-ICS/CARV
6 * Copyright © 2023-2024 Rivos Inc.
7 *
8 * Authors

--- 67 unchanged lines hidden (view full) ---

76
77static const struct of_device_id riscv_iommu_of_match[] = {
78 {.compatible = "riscv,iommu",},
79 {},
80};
81
82static struct platform_driver riscv_iommu_platform_driver = {
83 .probe = riscv_iommu_platform_probe,
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * RISC-V IOMMU as a platform device
4 *
5 * Copyright © 2023 FORTH-ICS/CARV
6 * Copyright © 2023-2024 Rivos Inc.
7 *
8 * Authors

--- 67 unchanged lines hidden (view full) ---

76
77static const struct of_device_id riscv_iommu_of_match[] = {
78 {.compatible = "riscv,iommu",},
79 {},
80};
81
82static struct platform_driver riscv_iommu_platform_driver = {
83 .probe = riscv_iommu_platform_probe,
84 .remove_new = riscv_iommu_platform_remove,
84 .remove = riscv_iommu_platform_remove,
85 .driver = {
86 .name = "riscv,iommu",
87 .of_match_table = riscv_iommu_of_match,
88 .suppress_bind_attrs = true,
89 },
90};
91
92builtin_platform_driver(riscv_iommu_platform_driver);
85 .driver = {
86 .name = "riscv,iommu",
87 .of_match_table = riscv_iommu_of_match,
88 .suppress_bind_attrs = true,
89 },
90};
91
92builtin_platform_driver(riscv_iommu_platform_driver);