Thread (6 messages) 6 messages, 3 authors, 2010-09-01
STALE5737d

Re: [PATCH 21/74] ST SPEAr : Added keyboard support

From: rajeev <hidden>
Date: 2010-09-01 05:41:57
Also in: linux-arm-kernel

On 9/1/2010 10:53 AM, rajeev wrote:
quoted
quoted
+struct spear_kbd {
quoted
quoted
+     struct input_dev *input;
+     void __iomem *io_base;          /* Keyboard Base Address */
+     struct clk *clk;
+     int *keymap;
You need a copy of keymap here so that userspace can modify it safely
via EVIOCSKEYCODE.
We have one copy of struct spear_kbd per device structure. I think it
will be fine if we change this structure only. And so don't need to copy
another structure in driver.
Sorry!! I wanted to say "keymap array" not "struct spear_kbd" in above explanation.

rajeev.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help