summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Makefile
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-22 17:36:20 +0300
committerGuenter Roeck <linux@roeck-us.net>2017-10-30 04:36:03 +0300
commit7a76a7f34afdfb080ec8e51ed18891b4f72ec907 (patch)
treef388455bac1fe6c1afb5c10477314e4427d67b81 /drivers/hwmon/Makefile
parent762b1e88801357770889d013c5d20fe110d1f456 (diff)
downloadlinux-7a76a7f34afdfb080ec8e51ed18891b4f72ec907.tar.xz
hwmon: (w83793) make const array watchdog_minors static, reduces object code size
Don't populate const array watchdog_minors on the stack, instead make it static. Makes the object code smaller by over 350 bytes: Before: text data bss dec hex filename 48019 38144 256 86419 15193 drivers/hwmon/w83793.o After: text data bss dec hex filename 47574 38232 256 86062 1502e drivers/hwmon/w83793.o (gcc 6.3.0, x86-64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Makefile')
0 files changed, 0 insertions, 0 deletions