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: 466291 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 p0941RV8019487 for ; Sun, 9 Jan 2011 04:01:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751640Ab1AIEBT (ORCPT ); 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 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]); Sun, 09 Jan 2011 04:01:27 +0000 (UTC) --- 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);