From patchwork Sun Jan 9 03:53:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 5517 Return-path: Envelope-to: mchehab@pedra Delivery-date: Sun, 09 Jan 2011 17:25:31 -0200 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1Pc0tO-0003Pf-M4 for mchehab@pedra; Sun, 09 Jan 2011 17:25:31 -0200 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Sun, 09 Jan 2011 17:25:30 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PbmT6-0004zf-T9; Sun, 09 Jan 2011 04:01:25 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751640Ab1AIEBT (ORCPT + 1 other); Sat, 8 Jan 2011 23:01:19 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]:55187 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911Ab1AIEBT (ORCPT ); Sat, 8 Jan 2011 23:01:19 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p0941DWB008335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 9 Jan 2011 04:01:15 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p092a8lt003640; Sun, 9 Jan 2011 04:01:13 GMT Received: from abhmt017.oracle.com by acsmt355.oracle.com with ESMTP id 910523051294545641; Sat, 08 Jan 2011 20:00:41 -0800 Received: from dragon.site (/64.134.136.106) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 08 Jan 2011 20:00:41 -0800 Date: Sat, 8 Jan 2011 19:53:53 -0800 From: Randy Dunlap To: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab Subject: [PATCH] ir-raw: fix sparse non-ANSI function warning Message-Id: <20110108195353.3925990e.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.4; i686-pc-linux-gnu) Mime-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: From: Randy Dunlap Fix sparse warning for non-ANSI function declaration: drivers/media/rc/ir-raw.c:247:30: warning: non-ANSI function declaration of function 'ir_raw_get_allowed_protocols' Signed-off-by: Randy Dunlap Cc: Mauro Carvalho Chehab --- drivers/media/rc/ir-raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- lnx0107.orig/drivers/media/rc/ir-raw.c +++ lnx0107/drivers/media/rc/ir-raw.c @@ -233,7 +233,7 @@ EXPORT_SYMBOL_GPL(ir_raw_event_handle); /* used internally by the sysfs interface */ u64 -ir_raw_get_allowed_protocols() +ir_raw_get_allowed_protocols(void) { u64 protocols; mutex_lock(&ir_raw_handler_lock);