summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/omap2
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-07-31 14:06:58 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-07-31 14:06:58 +0300
commit195197f408567b54b312c54518fbca653c5442c6 (patch)
tree5409958b19ff6c05140906b4b9b63e197ba7742c /drivers/video/fbdev/omap2
parent3f2ce54284a60500eb6dca1dca6fd615df8f9aa3 (diff)
downloadlinux-195197f408567b54b312c54518fbca653c5442c6.tar.xz
fb: amifb: fix build warnings when not builtin
Fix build warning when built as a loadable module. amifb_setup() and amifb_setup_mcap() are only needed when the driver is builtin. This matches how the functions are called (using #ifndef MODULE). ../drivers/video/fbdev/amifb.c:2344:19: warning: 'amifb_setup' defined but not used [-Wunused-function] static int __init amifb_setup(char *options) ../drivers/video/fbdev/amifb.c:2307:20: warning: 'amifb_setup_mcap' defined but not used [-Wunused-function] static void __init amifb_setup_mcap(char *spec) Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/omap2')
0 files changed, 0 insertions, 0 deletions