]> git.baikalelectronics.ru Git - kernel.git/commit
fbcon: mark dummy functions 'inline'
authorArnd Bergmann <arnd@arndb.de>
Mon, 7 Aug 2017 15:22:14 +0000 (17:22 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 7 Aug 2017 15:22:14 +0000 (17:22 +0200)
commiteb0873e2313910e710647990565996d560fcfa64
treeef07a138f7f487e583fa5a034c7a5e7dfd9b28d7
parent2b1cf7cc28b1f021ca78ae06214f881bb37490a4
fbcon: mark dummy functions 'inline'

The newly introduced fb_console_init/exit declarations have a
dummy alternative that is marked 'static' in the header but not
inline, leading to a warning whenever the header gets included:

In file included from drivers/video/fbdev/core/fbmem.c:35:0:
include/linux/fbcon.h:9:13: error: 'fb_console_exit' defined but not used [-Werror=unused-function]

This adds the intended 'inline'.

Fixes: f09b07274d6c ("fbcon: Make fbcon a built-time depency for fbdev")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
include/linux/fbcon.h