diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-23 16:30:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-23 16:30:13 -0400 |
commit | 91e71c12c506e15028c252a5a097723f41c518dd (patch) | |
tree | 161db8e1e6bf8d964c98769bddaa5166027ce698 | |
parent | ed3473b18f85b591c1e8afec831e9e06120142b7 (diff) | |
parent | fc6e756894b703952fd277a1f98a5d93e7ba847a (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86:
thinkpad-acpi: avoid keymap pitfall
Change MSI LAPTOP driver maintainer to Lee, Chun-Yi
-rw-r--r-- | MAINTAINERS | 4 | ||||
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 4d4881d909da..df342839b8c1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -3905,10 +3905,8 @@ F: Documentation/serial/moxa-smartio | |||
3905 | F: drivers/char/mxser.* | 3905 | F: drivers/char/mxser.* |
3906 | 3906 | ||
3907 | MSI LAPTOP SUPPORT | 3907 | MSI LAPTOP SUPPORT |
3908 | M: Lennart Poettering <mzxreary@0pointer.de> | 3908 | M: Lee, Chun-Yi <jlee@novell.com> |
3909 | L: platform-driver-x86@vger.kernel.org | 3909 | L: platform-driver-x86@vger.kernel.org |
3910 | W: https://tango.0pointer.de/mailman/listinfo/s270-linux | ||
3911 | W: http://0pointer.de/lennart/tchibo.html | ||
3912 | S: Maintained | 3910 | S: Maintained |
3913 | F: drivers/platform/x86/msi-laptop.c | 3911 | F: drivers/platform/x86/msi-laptop.c |
3914 | 3912 | ||
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index e35ed128bdef..2d61186ad5a2 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -3093,7 +3093,8 @@ static const struct tpacpi_quirk tpacpi_hotkey_qtable[] __initconst = { | |||
3093 | TPACPI_Q_IBM('1', 'D', TPACPI_HK_Q_INIMASK), /* X22, X23, X24 */ | 3093 | TPACPI_Q_IBM('1', 'D', TPACPI_HK_Q_INIMASK), /* X22, X23, X24 */ |
3094 | }; | 3094 | }; |
3095 | 3095 | ||
3096 | typedef u16 tpacpi_keymap_t[TPACPI_HOTKEY_MAP_LEN]; | 3096 | typedef u16 tpacpi_keymap_entry_t; |
3097 | typedef tpacpi_keymap_entry_t tpacpi_keymap_t[TPACPI_HOTKEY_MAP_LEN]; | ||
3097 | 3098 | ||
3098 | static int __init hotkey_init(struct ibm_init_struct *iibm) | 3099 | static int __init hotkey_init(struct ibm_init_struct *iibm) |
3099 | { | 3100 | { |
@@ -3230,7 +3231,7 @@ static int __init hotkey_init(struct ibm_init_struct *iibm) | |||
3230 | }; | 3231 | }; |
3231 | 3232 | ||
3232 | #define TPACPI_HOTKEY_MAP_SIZE sizeof(tpacpi_keymap_t) | 3233 | #define TPACPI_HOTKEY_MAP_SIZE sizeof(tpacpi_keymap_t) |
3233 | #define TPACPI_HOTKEY_MAP_TYPESIZE sizeof(tpacpi_keymap_t[0]) | 3234 | #define TPACPI_HOTKEY_MAP_TYPESIZE sizeof(tpacpi_keymap_entry_t) |
3234 | 3235 | ||
3235 | int res, i; | 3236 | int res, i; |
3236 | int status; | 3237 | int status; |