summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/logo/logo.c5
-rw-r--r--include/linux/linux_logo.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c
index 042728879471..950af0598240 100644
--- a/drivers/video/logo/logo.c
+++ b/drivers/video/logo/logo.c
@@ -36,6 +36,11 @@ static int __init fb_logo_late_init(void)
late_initcall(fb_logo_late_init);
+bool fb_logos_freed(void)
+{
+ return logos_freed;
+}
+
/* logo's are marked __initdata. Use __ref to tell
* modpost that it is intended that this function uses data
* marked __initdata.
diff --git a/include/linux/linux_logo.h b/include/linux/linux_logo.h
index 2be299513819..6e089e9e98b3 100644
--- a/include/linux/linux_logo.h
+++ b/include/linux/linux_logo.h
@@ -49,6 +49,7 @@ extern const struct linux_logo logo_m32r_clut224;
extern const struct linux_logo logo_spe_clut224;
extern const struct linux_logo logo_custom_clut224;
+extern bool fb_logos_freed(void);
extern const struct linux_logo *fb_find_logo(int depth);
#ifdef CONFIG_FB_LOGO_EXTRA
extern void fb_append_extra_logo(const struct linux_logo *logo,