From patchwork Wed Jul 7 21:40:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 110718 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o67Lhv9Z030006 for ; Wed, 7 Jul 2010 21:43:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757869Ab0GGVmZ (ORCPT ); Wed, 7 Jul 2010 17:42:25 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:64770 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757799Ab0GGVks (ORCPT ); Wed, 7 Jul 2010 17:40:48 -0400 Received: from localhost.localdomain (port-92-200-115-56.dynamic.qsc.de [92.200.115.56]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MKKYA-1OW47q2cIY-001Ah4; Wed, 07 Jul 2010 23:40:32 +0200 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: John Kacur , Frederic Weisbecker , Arnd Bergmann , Christoph Hellwig , Tony Lindgren , linux-omap@vger.kernel.org Subject: [PATCH 05/18] arm/omap: use generic_file_llseek in iommu_debug Date: Wed, 7 Jul 2010 23:40:07 +0200 Message-Id: <1278538820-1392-6-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1278538820-1392-1-git-send-email-arnd@arndb.de> References: <1278538820-1392-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:Y5evt7EVGQhiYQXlWigpFwCeQSXKK1B2JHUblFNzZnW TQr7yZ+Cgv5H7WrZDA56IhfUlVFPr7w1DhdxbKOJVS0pRNgZxz KDZJEv4fYtkwztFUyUFW5uAgeaNWQV2fhnEVkGwnXRjY68JhJN 8O4Gt3uZa2Pa83Vak2zEAdrlwn31XfBH8wIpIy+B6ws35f3VMD FMPeXpdhKNu3ybW/m6oZQ== Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 07 Jul 2010 21:43:58 +0000 (UTC) diff --git a/arch/arm/plat-omap/iommu-debug.c b/arch/arm/plat-omap/iommu-debug.c index e6c0d53..f07cf2f 100644 --- a/arch/arm/plat-omap/iommu-debug.c +++ b/arch/arm/plat-omap/iommu-debug.c @@ -328,12 +328,14 @@ static int debug_open_generic(struct inode *inode, struct file *file) .open = debug_open_generic, \ .read = debug_read_##name, \ .write = debug_write_##name, \ + .llseek = generic_file_llseek, \ }; #define DEBUG_FOPS_RO(name) \ static const struct file_operations debug_##name##_fops = { \ .open = debug_open_generic, \ .read = debug_read_##name, \ + .llseek = generic_file_llseek, \ }; DEBUG_FOPS_RO(ver);