From patchwork Fri Apr 16 21:27:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarod Wilson X-Patchwork-Id: 93208 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3GLS8pJ029854 for ; Fri, 16 Apr 2010 21:28:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932477Ab0DPV2E (ORCPT ); Fri, 16 Apr 2010 17:28:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7335 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932417Ab0DPV2C (ORCPT ); Fri, 16 Apr 2010 17:28:02 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3GLS10u021897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Apr 2010 17:28:01 -0400 Received: from xavier.bos.redhat.com (xavier.bos.redhat.com [10.16.16.50]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3GLS1lY021604; Fri, 16 Apr 2010 17:28:01 -0400 Received: by xavier.bos.redhat.com (Postfix, from userid 501) id 63ACD2D0A3; Fri, 16 Apr 2010 17:27:58 -0400 (EDT) Date: Fri, 16 Apr 2010 17:27:58 -0400 From: Jarod Wilson To: mchehab@redhat.com Cc: linux-media@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 1/3] ir-core: make ir_g_keycode_from_table a public function Message-ID: <20100416212758.GB2427@redhat.com> References: <20100416212622.GA6888@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100416212622.GA6888@redhat.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 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.3 (demeter.kernel.org [140.211.167.41]); Fri, 16 Apr 2010 21:28:08 +0000 (UTC) diff --git a/drivers/media/IR/ir-core-priv.h b/drivers/media/IR/ir-core-priv.h index ef7f543..d79d91e 100644 --- a/drivers/media/IR/ir-core-priv.h +++ b/drivers/media/IR/ir-core-priv.h @@ -57,13 +57,6 @@ struct ir_raw_event_ctrl { #define TO_US(duration) ((int)TO_UNITS(duration, 1000)) /* - * Routines from ir-keytable.c to be used internally on ir-core and decoders - */ - -u32 ir_g_keycode_from_table(struct input_dev *input_dev, - u32 scancode); - -/* * Routines from ir-sysfs.c - Meant to be called only internally inside * ir-core */ diff --git a/include/media/ir-core.h b/include/media/ir-core.h index ab3bd30..51e8eb3 100644 --- a/include/media/ir-core.h +++ b/include/media/ir-core.h @@ -124,6 +124,7 @@ void ir_input_unregister(struct input_dev *input_dev); void ir_repeat(struct input_dev *dev); void ir_keydown(struct input_dev *dev, int scancode, u8 toggle); +u32 ir_g_keycode_from_table(struct input_dev *input_dev, u32 scancode); /* From ir-raw-event.c */