]> git.itanic.dy.fi Git - linux-stable/commit
fbdev: fbmem: mark get_fb_unmapped_area() static
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 20:22:48 +0000 (22:22 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 20 May 2023 05:02:12 +0000 (07:02 +0200)
commit19abb4583d5eba06459930932e72c862a83cd9c2
tree3b743b8d0dad502f5fd3279bc713914f1142c1f9
parent46f5dd7439e35ae63cdf04d7967152936c8a511e
fbdev: fbmem: mark get_fb_unmapped_area() static

There is a global function with this name on sparc, but no
global declaration:

drivers/video/fbdev/core/fbmem.c:1469:15: error: no previous prototype for 'get_fb_unmapped_area'

Make the generic definition static to avoid this warning. On
sparc, this is never seen.

Edit by Helge:
Update Kconfig text as suggested by Geert Uytterhoeven.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/Kconfig
drivers/video/fbdev/core/fbmem.c