summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2008-01-31 00:58:52 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-01-31 00:58:52 -0500
commitd7416f9eaa5427f47648973aac3a65e7a0eeda04 (patch)
treed284d127b32296b07bc35653c030573af4e603e4 /include
parent1814db69698479eec2c000a43c83b5f263f6fbb6 (diff)
downloadop-kernel-dev-d7416f9eaa5427f47648973aac3a65e7a0eeda04.zip
op-kernel-dev-d7416f9eaa5427f47648973aac3a65e7a0eeda04.tar.gz
Input: pxa27x_keypad - introduce pxa27x_keypad_config()
Introduce pxa27x_keypad_config() for keypad registers configuration and remove the reg_kpc, reg_kprec from platform data structure so that configurations of keypad registers can be centralized to a single function. It can also be re-used when resuming. Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-pxa/pxa27x_keypad.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-arm/arch-pxa/pxa27x_keypad.h b/include/asm-arm/arch-pxa/pxa27x_keypad.h
index 1b1bf9f..23f4ebc 100644
--- a/include/asm-arm/arch-pxa/pxa27x_keypad.h
+++ b/include/asm-arm/arch-pxa/pxa27x_keypad.h
@@ -13,11 +13,6 @@ struct pxa27x_keypad_platform_data {
unsigned int matrix_key_cols;
unsigned int *matrix_key_map;
int matrix_key_map_size;
-
-#ifdef CONFIG_PM
- u32 reg_kpc;
- u32 reg_kprec;
-#endif
};
#define KEY(row, col, val) (((row) << 28) | ((col) << 24) | (val))
OpenPOWER on IntegriCloud