aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-01-06 15:50:27 +0000
committerJiri Kosina <[email protected]>2018-02-16 12:34:28 +0000
commitb9ec7009298ee0e163339484992252d8dff636dc (patch)
treee1a9526926fe72afcf66a4fd235c8d18989120de /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff)
downloadkernel-b9ec7009298ee0e163339484992252d8dff636dc.tar.gz
kernel-b9ec7009298ee0e163339484992252d8dff636dc.zip
HID: asus: make array 'buf' static const
Don't populate the const read-only array 'buf' on the stack but instead make it static. Makes the object code smaller by 26 bytes: Before: text data bss dec hex filename 14378 2384 64 16826 41ba linux/drivers/hid/hid-asus.o After: text data bss dec hex filename 14296 2440 64 16800 41a0 linux/drivers/hid/hid-asus.o (gcc version 7.2.0 x86_64) [[email protected]: change commit message slightly] Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions