summaryrefslogtreecommitdiff
path: root/drivers/watchdog/bcm_kona_wdt.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-30 02:25:00 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-12-22 14:15:31 +0300
commitb1bbb0cb2c0ee6dccaf341f99dad9bdff5882acd (patch)
tree7ca485d8f436430381ad1089d216ff0829757af7 /drivers/watchdog/bcm_kona_wdt.c
parent437a3f8ea493ba9b80c9bb983e15f4297fc653de (diff)
downloadlinux-b1bbb0cb2c0ee6dccaf341f99dad9bdff5882acd.tar.xz
watchdog: asm9260_wdt: make array mode_name static, shrinks object size
Don't populate the const array mode_name on the stack but instead make it static. Makes the object code smaller by 41 bytes: Before: text data bss dec hex filename 7699 1872 0 9571 2563 drivers/watchdog/asm9260_wdt.o After: text data bss dec hex filename 7594 1936 0 9530 253a drivers/watchdog/asm9260_wdt.o (gcc version 8.2.0 x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/bcm_kona_wdt.c')
0 files changed, 0 insertions, 0 deletions