commit | b6566b47a67e07fdca44cf51abb14e2fbe17d3eb | [log] [tgz] |
---|---|---|
author | Randy Dunlap <rdunlap@infradead.org> | Tue Jul 24 19:11:27 2018 +0200 |
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Tue Jul 24 19:11:27 2018 +0200 |
tree | 5afb8364a6401cc40935ddb8b6394b5bc4c685cc | |
parent | 4bcd8c90ac0f27d3d76fcfc50582ff3685059de9 [diff] |
fbdev/via: fix defined but not used warning Fix a build warning in viafbdev.c when CONFIG_PROC_FS is not enabled by marking the unused function as __maybe_unused. ../drivers/video/fbdev/via/viafbdev.c:1471:12: warning: 'viafb_sup_odev_proc_show' defined but not used [-Wunused-function] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>