ARM: tegra: cardhu: add pm267 to kbc int keys
Ray Poudrier [Thu, 8 Mar 2012 03:51:33 +0000 (19:51 -0800)]
Bug 896071

Change-Id: I1bcd8069bfccdd80a1506e71bb9cc0353b9ea9a6

Conflicts:

arch/arm/mach-tegra/board-cardhu-kbc.c

Change-Id: I29af7c5289ae06757eb9cffce3065db08b3e8d06
Reviewed-on: http://git-master/r/97734
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

arch/arm/mach-tegra/board-cardhu-kbc.c

index 09f5581..16e83bb 100644 (file)
@@ -231,6 +231,7 @@ int __init cardhu_keys_init(void)
                (board_info.board_id == BOARD_E1257) ||
                (board_info.board_id == BOARD_PM305) ||
                (board_info.board_id == BOARD_PM311) ||
+               (board_info.board_id == BOARD_PM267) ||
                (board_info.board_id == BOARD_PM269)))
                return 0;
 
@@ -291,6 +292,7 @@ int __init cardhu_keys_init(void)
                (board_info.board_id == BOARD_E1186) ||
                (board_info.board_id == BOARD_PM305) ||
                (board_info.board_id == BOARD_PM311) ||
+               (board_info.board_id == BOARD_PM267) ||
                (board_info.board_id == BOARD_PM269)) {
                if (get_tegra_image_type() == rck_image)
                        cardhu_int_keys[0].code = KEY_ENTER;