From patchwork Mon Jan 11 08:01:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Henningsson X-Patchwork-Id: 7999841 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B04FB9F32E for ; Mon, 11 Jan 2016 08:02:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E62822025B for ; Mon, 11 Jan 2016 08:02:11 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 56D6120256 for ; Mon, 11 Jan 2016 08:02:09 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C283C2612BD; Mon, 11 Jan 2016 09:02:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 8312F260523; Mon, 11 Jan 2016 09:01:59 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B4E60260526; Mon, 11 Jan 2016 09:01:58 +0100 (CET) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id 978A9260522 for ; Mon, 11 Jan 2016 09:01:51 +0100 (CET) Received: from c83-251-163-152.bredband.comhem.se ([83.251.163.152] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1aIXQE-0006Vb-No; Mon, 11 Jan 2016 08:01:50 +0000 From: David Henningsson To: tiwai@suse.de Date: Mon, 11 Jan 2016 09:01:48 +0100 Message-Id: <1452499308-5239-1-git-send-email-david.henningsson@canonical.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, David Henningsson Subject: [alsa-devel] [PATCH] hda-emu: Add keycode* to input_dev X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: David Henningsson --- include/linux/input.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/input.h b/include/linux/input.h index 213c12b..c710fe4 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -26,6 +26,11 @@ struct input_dev { unsigned long keybit[0x300 / (sizeof(long) * 8)]; /* ... */ + unsigned int keycodemax; + unsigned int keycodesize; + void *keycode; + /* ... */ + int (*open)(struct input_dev *dev); void (*close)(struct input_dev *dev); int (*flush)(struct input_dev *dev, struct file *file);