mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
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>
This commit is contained in:
parent
46f5dd7439
commit
19abb4583d
@ -124,7 +124,7 @@ config FB_PROVIDE_GET_FB_UNMAPPED_AREA
|
||||
depends on FB
|
||||
help
|
||||
Allow generic frame-buffer to provide get_fb_unmapped_area
|
||||
function.
|
||||
function to provide shareable character device support on nommu.
|
||||
|
||||
menuconfig FB_FOREIGN_ENDIAN
|
||||
bool "Framebuffer foreign endianness support"
|
||||
|
@ -1468,7 +1468,7 @@ __releases(&info->lock)
|
||||
}
|
||||
|
||||
#if defined(CONFIG_FB_PROVIDE_GET_FB_UNMAPPED_AREA) && !defined(CONFIG_MMU)
|
||||
unsigned long get_fb_unmapped_area(struct file *filp,
|
||||
static unsigned long get_fb_unmapped_area(struct file *filp,
|
||||
unsigned long addr, unsigned long len,
|
||||
unsigned long pgoff, unsigned long flags)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user