linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: pullip.cho@samsung.com (조경호)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] iommu/exynos: Use bus_set_iommu instead of register_iommu
Date: Sat, 24 Sep 2011 07:31:03 +0000 (GMT)	[thread overview]
Message-ID: <24779929.49931316849463377.JavaMail.weblogic@epml24> (raw)

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>
---
 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 fe5b5d8..148e238 100644
--- a/drivers/iommu/exynos_iommu.c
+++ b/drivers/iommu/exynos_iommu.c
@@ -852,7 +852,7 @@ static int __init exynos_iommu_init(void)
 	if (!l2table_cachep)
 		return -ENOMEM;
 
-	register_iommu(&exynos_iommu_ops);
+	bus_set_iommu(&platform_bus_type, &omap_iommu_ops);
 
 	return 0;
 }
-- 
1.7.1

             reply	other threads:[~2011-09-24  7:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-24  7:31 조경호 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-09-24  7:36 [PATCH 4/4] iommu/exynos: Use bus_set_iommu instead of register_iommu 조경호
2011-09-24  2:02 [PATCH 0/4] iommu/exynos: Add IOMMU and Enhance System MMU driver for Exynos4 KyongHo Cho
2011-09-24  2:02 ` [PATCH 4/4] iommu/exynos: Use bus_set_iommu instead of register_iommu KyongHo Cho
2011-09-24  0:38 [PATCH 0/4] iommu/exynos: Add IOMMU and Enhance System MMU for Exynos4 KyongHo Cho
2011-09-24  0:38 ` [PATCH 4/4] iommu/exynos: Use bus_set_iommu instead of register_iommu KyongHo Cho

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=24779929.49931316849463377.JavaMail.weblogic@epml24 \
    --to=pullip.cho@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).