Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758094AbZCBAA6 (ORCPT ); Sun, 1 Mar 2009 19:00:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756203AbZCBAAs (ORCPT ); Sun, 1 Mar 2009 19:00:48 -0500 Received: from mail-fx0-f176.google.com ([209.85.220.176]:41406 "EHLO mail-fx0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755445AbZCBAAr (ORCPT ); Sun, 1 Mar 2009 19:00:47 -0500 From: Hannes Eder Subject: [PATCH] IOMMU: use ANSI style function declaration for 'iommu_found' To: Joerg Roedel Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 02 Mar 2009 01:00:41 +0100 Message-ID: <20090302000010.14884.9400.stgit@localhost.localdomain> User-Agent: StGit/0.14.3.348.gcb02 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 27 Fix this sparse warning: drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found' Signed-off-by: Hannes Eder --- drivers/base/iommu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c index 5e039d4..c2d1eed 100644 --- a/drivers/base/iommu.c +++ b/drivers/base/iommu.c @@ -31,7 +31,7 @@ void register_iommu(struct iommu_ops *ops) iommu_ops = ops; } -bool iommu_found() +bool iommu_found(void) { return iommu_ops != NULL; } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/