summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-kbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-kbc.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-kbc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-kbc.c b/arch/arm/mach-tegra/board-cardhu-kbc.c
index dada17b7fe41..7ed354b6fcd5 100644
--- a/arch/arm/mach-tegra/board-cardhu-kbc.c
+++ b/arch/arm/mach-tegra/board-cardhu-kbc.c
@@ -113,7 +113,8 @@ int __init cardhu_kbc_init(void)
return 0;
if ((board_info.board_id == BOARD_PM269) ||
- (board_info.board_id == BOARD_PM305)) {
+ (board_info.board_id == BOARD_PM305) ||
+ (board_info.board_id == BOARD_PM311)) {
cardhu_kbc_platform_data.plain_keycode = plain_kbd_keycode_pm269;
row_count = CARDHU_PM269_ROW_COUNT;
col_count = CARDHU_PM269_COL_COUNT;
@@ -237,6 +238,7 @@ int __init cardhu_keys_init(void)
if (!((board_info.board_id == BOARD_E1198) ||
(board_info.board_id == BOARD_E1291) ||
(board_info.board_id == BOARD_PM305) ||
+ (board_info.board_id == BOARD_PM311) ||
(board_info.board_id == BOARD_PM269)))
return 0;
@@ -259,6 +261,7 @@ int __init cardhu_keys_init(void)
/* Register on-key through pmu interrupt */
if ((board_info.board_id == BOARD_E1291) ||
(board_info.board_id == BOARD_PM305) ||
+ (board_info.board_id == BOARD_PM311) ||
(board_info.board_id == BOARD_PM269))
platform_device_register(&cardhu_int_keys_device);
return 0;