]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Input: wistron - declare keymaps as initdata
authorEric Piel <eric.piel@tremplin-utc.net>
Thu, 12 Apr 2007 05:32:49 +0000 (01:32 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:32:49 +0000 (01:32 -0400)
commit55d29c98418df737e87dbdfc36c78d3ed99a6698
treef9c1f706eb4d163055b86abc48f8085860df3eae
parent7b0a4cd7601774d1312f477a879f86b0968880fd
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>
drivers/input/misc/wistron_btns.c