From patchwork Fri Mar 25 15:13:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 662671 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2PFDsPV003526 for ; Fri, 25 Mar 2011 15:13:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752055Ab1CYPNw (ORCPT ); Fri, 25 Mar 2011 11:13:52 -0400 Received: from smtp.nokia.com ([147.243.128.24]:31653 "EHLO mgw-da01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840Ab1CYPNw (ORCPT ); Fri, 25 Mar 2011 11:13:52 -0400 Received: from nokia.com (localhost [127.0.0.1]) by mgw-da01.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p2PFDjZi021996; Fri, 25 Mar 2011 17:13:46 +0200 Received: from maxwell.research.nokia.com ([maxwell.research.nokia.com [172.21.50.162]]) by mgw-da01.nokia.com with ESMTP id p2PFDPqo021778 ; Fri, 25 Mar 2011 17:13:29 +0200 Received: from kaali.localdomain (kaali.localdomain [192.168.239.7]) by maxwell.research.nokia.com (Postfix) with ESMTPS id 8A9333861E8; Fri, 25 Mar 2011 17:13:25 +0200 (EET) Received: from sailus by kaali.localdomain with local (Exim 4.72) (envelope-from ) id 1Q38hZ-00023t-Dl; Fri, 25 Mar 2011 17:13:25 +0200 From: Sakari Ailus To: linux-media@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, david.cohen@nokia.com, hiroshi.doyu@nokia.com Subject: [PATCH 2/4] omap iommu: Add module information to struct iommu_functions Date: Fri, 25 Mar 2011 17:13:23 +0200 Message-Id: <1301066005-7882-2-git-send-email-sakari.ailus@maxwell.research.nokia.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <4D8CB106.7030608@maxwell.research.nokia.com> References: <4D8CB106.7030608@maxwell.research.nokia.com> X-Nokia-AV: Clean Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 25 Mar 2011 15:13:54 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/plat/iommu.h b/arch/arm/plat-omap/include/plat/iommu.h index 69230d6..26fefb4 100644 --- a/arch/arm/plat-omap/include/plat/iommu.h +++ b/arch/arm/plat-omap/include/plat/iommu.h @@ -79,6 +79,7 @@ struct iotlb_lock { /* architecture specific functions */ struct iommu_functions { unsigned long version; + struct module *module; int (*enable)(struct iommu *obj); void (*disable)(struct iommu *obj);