toshiba_acpi: Add alternative keymap support for Satellite M840
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 Apr 2014 13:15:38 +0000 (15:15 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Mon, 9 Jun 2014 21:39:58 +0000 (17:39 -0400)
commitfe808bfb59d693e07ee23c99542cd64e1f41b8c9
tree1684216e62375959da52df244c9beab85de9b33f
parent21a3542753a63091bc4700525e6096d76fe32f62
toshiba_acpi: Add alternative keymap support for Satellite M840

Toshiba Satellite M840 laptop has a complete different keymap although
it's bound with the same ACPI ID "TOS1900".  This patch provides an
alternative keymap specific to this machine by identifying via DMI
matching.  The keymap table doesn't fill all entries that were used
before since some keys aren't found on this machine at all.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=69761
Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=812209
Reported-and-tested-by: Federico Vecchiarelli <fedev@gmx.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/toshiba_acpi.c