commit | 55d29c98418df737e87dbdfc36c78d3ed99a6698 | [log] [tgz] |
---|---|---|
author | Eric Piel <eric.piel@tremplin-utc.net> | Thu Apr 12 01:32:49 2007 -0400 |
committer | Dmitry Torokhov <dtor@insightbb.com> | Thu Apr 12 01:32:49 2007 -0400 |
tree | f9c1f706eb4d163055b86abc48f8085860df3eae | |
parent | 7b0a4cd7601774d1312f477a879f86b0968880fd [diff] |
Input: wistron - declare keymaps as initdata As the number of keymaps increases and is very unlikely to reduce, this patch helps to reduce memory consumption by declaring all keymaps as __initdata and copying right keymap during DMI detection. On x86 this make the module size at runtime going from 10616 to 9428: a bit more than 1kb saved. Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>