From patchwork Wed Aug 1 09:05:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10431 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A215E23E57 for ; Wed, 1 Aug 2012 09:06:30 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 5AC2AA18EC4 for ; Wed, 1 Aug 2012 09:06:30 +0000 (UTC) Received: by yhpp61 with SMTP id p61so6933744yhp.11 for ; Wed, 01 Aug 2012 02:06:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=NBjBhOGgzgT1tABIveHervkm8NLczTBur+Mb7m7kDCA=; b=PlH9a1yzg2zg1M/mo3YMY9YmNsM0eStD70pM/kpt955wte83My1islt8wYsY4cMSPc CwtTfm2/kAgMKsW64wNsDu4poZJ92CBKwNfc+QZuQy+XaULpCRnHKp7jeYWuIeqBOX+0 WVT5xtTwYDpbL7CBCcsIwrbyhnwXEKLZgeyx4XZFJbV7p/UICRxySeKDIB4AD3jp8piw gGeZT3uCZkMWuMVodtFdRr4ik7pejmK3lliKRg96UfxHZ5WhaO4z15IfNvUR6babOm6O 1tgCT9tKz4SkOwl9DtjycVk2VOYt4YOUCmGbV19Ygl5leM97dGae94ZujO8Mbax9XwIs gXlQ== Received: by 10.50.213.39 with SMTP id np7mr4622344igc.51.1343811989676; Wed, 01 Aug 2012 02:06:29 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp186925igz; Wed, 1 Aug 2012 02:06:29 -0700 (PDT) Received: by 10.68.189.104 with SMTP id gh8mr49974763pbc.152.1343811988473; Wed, 01 Aug 2012 02:06:28 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id iq5si5144996pbc.14.2012.08.01.02.06.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 02:06:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so928954pbb.37 for ; Wed, 01 Aug 2012 02:06:28 -0700 (PDT) Received: by 10.68.242.228 with SMTP id wt4mr28178702pbc.89.1343811987954; Wed, 01 Aug 2012 02:06:27 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id hx9sm2188641pbc.68.2012.08.01.02.06.24 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 02:06:27 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: kgene.kim@samsung.com, joerg.roedel@amd.com, pullip.cho@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] iommu/exynos: Fix build error Date: Wed, 1 Aug 2012 14:35:17 +0530 Message-Id: <1343811917-24054-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkRqzYHXNivvOYjw0EkDuczL10Zch9HUe8THbVTlF/7d+WElAopaotczOJgsUfSg9/Q11a+ Fixes the following build error introduced by commit 3177bb76a8 ("iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute"): drivers/iommu/exynos-iommu.c: In function ‘exynos_iommu_domain_init’: drivers/iommu/exynos-iommu.c:735:2: error: ‘dom’ undeclared (first use in this function) Signed-off-by: Sachin Kamat Acked-by: Kukjin Kim --- drivers/iommu/exynos-iommu.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 45350ff..80bad32 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -732,9 +732,9 @@ static int exynos_iommu_domain_init(struct iommu_domain *domain) spin_lock_init(&priv->pgtablelock); INIT_LIST_HEAD(&priv->clients); - dom->geometry.aperture_start = 0; - dom->geometry.aperture_end = ~0UL; - dom->geometry.force_aperture = true; + domain->geometry.aperture_start = 0; + domain->geometry.aperture_end = ~0UL; + domain->geometry.force_aperture = true; domain->priv = priv; return 0;