From patchwork Mon Oct 1 22:46:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ido Yariv X-Patchwork-Id: 1532891 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B578BDFE80 for ; Mon, 1 Oct 2012 22:47:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753273Ab2JAWrB (ORCPT ); Mon, 1 Oct 2012 18:47:01 -0400 Received: from mail-qa0-f46.google.com ([209.85.216.46]:36094 "EHLO mail-qa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752827Ab2JAWq4 (ORCPT ); Mon, 1 Oct 2012 18:46:56 -0400 Received: by mail-qa0-f46.google.com with SMTP id c26so86178qad.19 for ; Mon, 01 Oct 2012 15:46:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=DPwV64oncNv57Rw8Bnd0al+GUqVV2u1OFQUG9VgC/NQ=; b=EMKqDH5Z6RaJKu65akAg8Vfr1GxEg+OhSI0bOqfnj+IpjxE8QsPEHNBWpe0DWw4G9v QE08r2YoQhUisadVX24HzdVkXmofCKBF79+SucznSqn0GEUZGARCutzx/CAWL/J7TVo5 cj43OKg9FazNUOTAY9uTm9gYumXOUbpCg6hO3SM2t4a47iJ9WouRSGUynHiDM8Pvi6kQ vv9xEddvAXc6TqkwaBhz5BqGaccZvam0zAIw1Ja86zc7yYmbwGjcCMDY/g3lOQL8ff+6 UgNA4qeVpzf8OQouZpcZvAcT24c+JHu8za8+nkFsEorDal3d8LIXSp2Dfz0piv7MeUl4 p/rg== Received: by 10.49.71.77 with SMTP id s13mr1616539qeu.17.1349131615947; Mon, 01 Oct 2012 15:46:55 -0700 (PDT) Received: from localhost.localdomain (c-76-24-20-17.hsd1.ma.comcast.net. [76.24.20.17]) by mx.google.com with ESMTPS id f12sm599020qey.5.2012.10.01.15.46.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2012 15:46:55 -0700 (PDT) From: Ido Yariv To: Tony Lindgren , Russell King , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-media@vger.kernel.org Cc: Ido Yariv Subject: [PATCH v2 5/5] arm: omap: Move iopgtable header to drivers/iommu/ Date: Mon, 1 Oct 2012 18:46:31 -0400 Message-Id: <1349131591-10804-5-git-send-email-ido@wizery.com> X-Mailer: git-send-email 1.7.11.4 In-Reply-To: <1349131591-10804-1-git-send-email-ido@wizery.com> References: <20120927195526.GP4840@atomide.com> <1349131591-10804-1-git-send-email-ido@wizery.com> X-Gm-Message-State: ALoCoQncDwzcuUgvbdZgKixFuHxnIRqhxjG5Q+ST+5+OV2ByyLwe6/zbwejUTyBYk2aM2pzFcaP9 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The iopgtable header file is only used by the iommu & iovmm drivers, so move it to drivers/iommu/, as part of the single zImage effort. Signed-off-by: Ido Yariv --- drivers/iommu/omap-iommu-debug.c | 3 +-- drivers/iommu/omap-iommu.c | 3 +-- .../include/plat/iopgtable.h => drivers/iommu/omap-iopgtable.h | 0 drivers/iommu/omap-iovmm.c | 3 +-- 4 files changed, 3 insertions(+), 6 deletions(-) rename arch/arm/plat-omap/include/plat/iopgtable.h => drivers/iommu/omap-iopgtable.h (100%) diff --git a/drivers/iommu/omap-iommu-debug.c b/drivers/iommu/omap-iommu-debug.c index 8c1e30b..84dbfd2 100644 --- a/drivers/iommu/omap-iommu-debug.c +++ b/drivers/iommu/omap-iommu-debug.c @@ -22,8 +22,7 @@ #include #include -#include - +#include "omap-iopgtable.h" #include "omap-iommu.h" #define MAXCOLUMN 100 /* for short messages */ diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index 6100334..1ca33b0 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c @@ -26,8 +26,7 @@ #include -#include - +#include "omap-iopgtable.h" #include "omap-iommu.h" #define for_each_iotlb_cr(obj, n, __i, cr) \ diff --git a/arch/arm/plat-omap/include/plat/iopgtable.h b/drivers/iommu/omap-iopgtable.h similarity index 100% rename from arch/arm/plat-omap/include/plat/iopgtable.h rename to drivers/iommu/omap-iopgtable.h diff --git a/drivers/iommu/omap-iovmm.c b/drivers/iommu/omap-iovmm.c index b5ac2cd..2820e3a 100644 --- a/drivers/iommu/omap-iovmm.c +++ b/drivers/iommu/omap-iovmm.c @@ -24,8 +24,7 @@ #include #include -#include - +#include "omap-iopgtable.h" #include "omap-iommu.h" static struct kmem_cache *iovm_area_cachep;