[PATCH]drivers/input/misc: Added Acer TravelMate 2424NWXCi support to the wistron button interface

From: Ashutosh Naik
Date: Mon Sep 25 2006 - 00:52:45 EST


This patch adds Acer TravelMate 2424NWXCi support to the wistron button
interface.The key mappings are the same as the older Acer TravelMate
240. I have tested it on my new laptop and it seems to work great.

Signed-off-by: Ashutosh Naik <ashutosh.naik@xxxxxxxxx> diff -Nurp linux-2.6.18-vanilla/drivers/input/misc/wistron_btns.c linux-2.6.18/drivers/input/misc/wistron_btns.c
--- linux-2.6.18-vanilla/drivers/input/misc/wistron_btns.c 2006-09-20 09:12:06.000000000 +0530
+++ linux-2.6.18/drivers/input/misc/wistron_btns.c 2006-09-25 10:12:23.000000000 +0530
@@ -389,6 +389,15 @@ static struct dmi_system_id dmi_ids[] __
},
.driver_data = keymap_acer_travelmate_240
},
+ {
+ .callback = dmi_matched,
+ .ident = "Acer TravelMate 2424NWXCi",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 2420"),
+ },
+ .driver_data = keymap_acer_travelmate_240
+ },
{
.callback = dmi_matched,
.ident = "AOpen 1559AS",