From: Kukjin Kim <kgene.kim@samsung.com>
To: linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org,
iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Cc: "'Russell King'" <rmk+kernel@arm.linux.org.uk>,
joerg.roedel@amd.com, "'Ohad Ben-Cohen'" <ohad@wizery.com>,
"'Sanghyun Lee'" <sanghyun75.lee@samsung.com>,
younglak1004.kim@samsung.com,
"'Kukjin Kim'" <kgene.kim@samsung.com>
Subject: [PATCH v2 5/5] iommu/exynos: Use bus_set_iommu instead of register_iommu
Date: Fri, 30 Sep 2011 16:31:49 +0900 [thread overview]
Message-ID: <017001cc7f43$04a2db60$0de89220$%kim@samsung.com> (raw)
From: KyongHo Cho <pullip.cho@samsung.com>
This replaces register_iommu() with bus_set_iommu() according to the
suggestion of Joerg Roedel.
Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
drivers/iommu/exynos_iommu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/iommu/exynos_iommu.c b/drivers/iommu/exynos_iommu.c
index d355a2e..e36f7b2 100644
--- a/drivers/iommu/exynos_iommu.c
+++ b/drivers/iommu/exynos_iommu.c
@@ -912,7 +912,7 @@ static int __init exynos_iommu_init(void)
if (!l2table_cachep)
return -ENOMEM;
- register_iommu(&exynos_iommu_ops);
+ bus_set_iommu(&platform_bus_type, &exynos_iommu_ops);
return 0;
}
--
1.7.1
next reply other threads:[~2011-09-30 7:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-30 7:31 Kukjin Kim [this message]
2011-09-30 13:46 ` Roedel, Joerg
2011-09-30 23:52 ` KyongHo Cho
2011-10-07 11:37 ` Joerg Roedel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='017001cc7f43$04a2db60$0de89220$%kim@samsung.com' \
--to=kgene.kim@samsung.com \
--cc=iommu@lists.linux-foundation.org \
--cc=joerg.roedel@amd.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=ohad@wizery.com \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=sanghyun75.lee@samsung.com \
--cc=younglak1004.kim@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®