diff mbox

hda-emu: Add keycode* to input_dev

Message ID 1452499308-5239-1-git-send-email-david.henningsson@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Henningsson Jan. 11, 2016, 8:01 a.m. UTC
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 include/linux/input.h | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Takashi Iwai Jan. 11, 2016, 8:51 a.m. UTC | #1
On Mon, 11 Jan 2016 09:01:48 +0100,
David Henningsson wrote:
> 
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>

Applied, thanks.


Takashi

> ---
>  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);
> -- 
> 1.9.1
>
diff mbox

Patch

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);