fbdev: Unexport unlink_framebuffer()
There are no external callers of unlink_framebuffer() left. Make the function an internal interface. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Noralf Trønnes <noralf@tronnes.org> Link: https://patchwork.freedesktop.org/patch/msgid/20191114125106.28347-4-tzimmermann@suse.de
This commit is contained in:
@@ -1673,7 +1673,7 @@ static void unbind_console(struct fb_info *fb_info)
|
|||||||
console_unlock();
|
console_unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
void unlink_framebuffer(struct fb_info *fb_info)
|
static void unlink_framebuffer(struct fb_info *fb_info)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@@ -1692,7 +1692,6 @@ void unlink_framebuffer(struct fb_info *fb_info)
|
|||||||
|
|
||||||
fb_info->dev = NULL;
|
fb_info->dev = NULL;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(unlink_framebuffer);
|
|
||||||
|
|
||||||
static void do_unregister_framebuffer(struct fb_info *fb_info)
|
static void do_unregister_framebuffer(struct fb_info *fb_info)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -606,7 +606,6 @@ extern ssize_t fb_sys_write(struct fb_info *info, const char __user *buf,
|
|||||||
/* drivers/video/fbmem.c */
|
/* drivers/video/fbmem.c */
|
||||||
extern int register_framebuffer(struct fb_info *fb_info);
|
extern int register_framebuffer(struct fb_info *fb_info);
|
||||||
extern void unregister_framebuffer(struct fb_info *fb_info);
|
extern void unregister_framebuffer(struct fb_info *fb_info);
|
||||||
extern void unlink_framebuffer(struct fb_info *fb_info);
|
|
||||||
extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev,
|
extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev,
|
||||||
const char *name);
|
const char *name);
|
||||||
extern int remove_conflicting_framebuffers(struct apertures_struct *a,
|
extern int remove_conflicting_framebuffers(struct apertures_struct *a,
|
||||||
|
|||||||
Reference in New Issue
Block a user