diff options
author | Colin Ian King | 2017-08-31 18:30:44 +0200 |
---|---|---|
committer | Dmitry Torokhov | 2017-09-01 03:09:48 +0200 |
commit | 08d6ac9ee5fedd82040bc878705981b67a116a3f (patch) | |
tree | aa4edc21678fbc831cb18e8afd870942ed2ba868 /drivers/acpi/button.c | |
parent | Input: xilinx_ps2 - fix multiline comment style (diff) | |
download | kernel-qcow2-linux-08d6ac9ee5fedd82040bc878705981b67a116a3f.tar.gz kernel-qcow2-linux-08d6ac9ee5fedd82040bc878705981b67a116a3f.tar.xz kernel-qcow2-linux-08d6ac9ee5fedd82040bc878705981b67a116a3f.zip |
Input: byd - make array seq static, reduces object code size
Don't populate the array seq on the stack, instead make it static.
Makes the object code smaller by over 1100 bytes:
Before:
text data bss dec hex filename
6152 1216 64 7432 1d08 drivers/input/mouse/byd.o
After:
text data bss dec hex filename
4974 1280 64 6318 18ae drivers/input/mouse/byd.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/acpi/button.c')
0 files changed, 0 insertions, 0 deletions