projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'devicetree-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/robh...
[linux-2.6-microblaze.git]
/
drivers
/
iommu
/
mtk_iommu_v1.c
diff --git
a/drivers/iommu/mtk_iommu_v1.c
b/drivers/iommu/mtk_iommu_v1.c
index
210b1c7
..
b5efd6d
100644
(file)
--- a/
drivers/iommu/mtk_iommu_v1.c
+++ b/
drivers/iommu/mtk_iommu_v1.c
@@
-427,7
+427,7
@@
static int mtk_iommu_add_device(struct device *dev)
int err;
of_for_each_phandle(&it, err, dev->of_node, "iommus",
- "#iommu-cells",
0
) {
+ "#iommu-cells",
-1
) {
int count = of_phandle_iterator_args(&it, iommu_spec.args,
MAX_PHANDLE_ARGS);
iommu_spec.np = of_node_get(it.node);