summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/keypad-pxa27x.h
diff options
context:
space:
mode:
authorChao Xie <chao.xie@marvell.com>2013-05-05 20:24:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-06-18 22:56:51 -0700
commit0a085a9482fa51efb58c9d351ea98e83c5df93fc (patch)
tree411592ae841ea8b18dce07a7e4bce3fce30fcadc /include/linux/platform_data/keypad-pxa27x.h
parent483180281f0ac60d1138710eb21f4b9961901294 (diff)
downloadop-kernel-dev-0a085a9482fa51efb58c9d351ea98e83c5df93fc.zip
op-kernel-dev-0a085a9482fa51efb58c9d351ea98e83c5df93fc.tar.gz
Input: pxa27x-keypad - use matrix_keymap for matrix keys
pxa27x-keypad includes matrix keys. Make use of matrix_keymap for the matrix keys. Signed-off-by: Chao Xie <chao.xie@marvell.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data/keypad-pxa27x.h')
-rw-r--r--include/linux/platform_data/keypad-pxa27x.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/platform_data/keypad-pxa27x.h b/include/linux/platform_data/keypad-pxa27x.h
index 5ce8d5e6..2462556 100644
--- a/include/linux/platform_data/keypad-pxa27x.h
+++ b/include/linux/platform_data/keypad-pxa27x.h
@@ -36,10 +36,9 @@
struct pxa27x_keypad_platform_data {
/* code map for the matrix keys */
+ const struct matrix_keymap_data *matrix_keymap_data;
unsigned int matrix_key_rows;
unsigned int matrix_key_cols;
- unsigned int *matrix_key_map;
- int matrix_key_map_size;
/* direct keys */
int direct_key_num;
OpenPOWER on IntegriCloud