From patchwork Wed Feb 6 08:25:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 14582 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 9442C24195 for ; Wed, 6 Feb 2013 08:34:45 +0000 (UTC) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by fiordland.canonical.com (Postfix) with ESMTP id 0229CA1816D for ; Wed, 6 Feb 2013 08:34:44 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id pb11so897012veb.19 for ; Wed, 06 Feb 2013 00:34:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=JnlA+rppUK4C4VFiGTRfwt4dCz6vOlYSrCm2rt/Yxwk=; b=ZG0QB9JNtjzVNtytnUgSnqv3b7EPQZ54By9a3awbkPCoF/PECjRAe+deME9ncVL+F0 AGG6rlSH1Y35W9/5MLb6kiyBA4WVbhCoGTi1RI7w99seemFGHdThVWqoEtv3UmPEJBsI OZW3U0GuVVGzCEO9mwvi9rziHg8ROeSonP6E3QgI8L7Q86AS/8/dBDWipGeeYP5XiBj4 VHJ7GRtRdhe9bS4xpWOYkdhLWPE0dzM9GYJr5/4BOSOrgLQrg3oL4y0d1/20FLHViugc Lhe8izXIG81udTmdRwmA+xB0ew93+sdw5/s+yIA3bP/J0ZJ3UBmaKvAX3KE9pKKS+JQi 7Vvw== X-Received: by 10.52.21.146 with SMTP id v18mr27492834vde.79.1360139684465; Wed, 06 Feb 2013 00:34:44 -0800 (PST) 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.58.252.8 with SMTP id zo8csp7256vec; Wed, 6 Feb 2013 00:34:43 -0800 (PST) X-Received: by 10.66.74.10 with SMTP id p10mr30206636pav.68.1360139683183; Wed, 06 Feb 2013 00:34:43 -0800 (PST) Received: from mail-da0-f44.google.com (mail-da0-f44.google.com [209.85.210.44]) by mx.google.com with ESMTPS id p7si27765636pav.50.2013.02.06.00.34.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 00:34:43 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f44.google.com with SMTP id z20so520951dae.3 for ; Wed, 06 Feb 2013 00:34:42 -0800 (PST) X-Received: by 10.66.74.234 with SMTP id x10mr31036957pav.10.1360139682394; Wed, 06 Feb 2013 00:34:42 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id f9sm35976917paz.12.2013.02.06.00.34.39 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Feb 2013 00:34:41 -0800 (PST) From: Sachin Kamat To: iommu@lists.linux-foundation.org Cc: joro@8bytes.org, joerg.roedel@amd.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] iommu/exynos: Make exynos_sysmmu_disable static Date: Wed, 6 Feb 2013 13:55:17 +0530 Message-Id: <1360139117-6671-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQmEecAEHKby4xVsu+iwMatb8KhUV6edVYyfUJNaEnLhUlox+4zAVbKmR7SN3xRRhrjdFbjZ 'exynos_sysmmu_disable' is used only in this file and can be made static. Signed-off-by: Sachin Kamat --- 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 7fe44f8..238a3ca 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -511,7 +511,7 @@ int exynos_sysmmu_enable(struct device *dev, unsigned long pgtable) return ret; } -bool exynos_sysmmu_disable(struct device *dev) +static bool exynos_sysmmu_disable(struct device *dev) { struct sysmmu_drvdata *data = dev_get_drvdata(dev->archdata.iommu); bool disabled;