aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-30 09:32:25 +0100
committerGuenter Roeck <linux@roeck-us.net>2017-08-30 06:31:49 -0700
commit6930125858c71a62a964437c360f188e96879438 (patch)
tree291dbf7e5b47a0d7b2ad81fe7659896a8a81840b /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
parent5783ec2e5c102a6a04d17e07bd9d008a464ed9bc (diff)
hwmon: (asc7621) make several arrays static const
Don't populate the arrays on the stack, instead make them static. Makes the object code smaller by over 950 bytes: Before: text data bss dec hex filename 26144 18768 352 45264 b0d0 drivers/hwmon/asc7621.o After: text data bss dec hex filename 25029 18928 352 44309 ad15 drivers/hwmon/asc7621.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions