fbdev: move logo externs to header file
Now we have __initconst, we can finally move the external declarations for the various Linux logo structures to <linux/linux_logo.h>. James' ack dates back to the previous submission (way to long ago), when the logos were still __initdata, which caused failures on some platforms with some toolchain versions. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: James Simmons <jsimmons@infradead.org> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
a53c9d5b71
commit
ae52bb2384
@@ -752,17 +752,8 @@ static int __init init_spu_base(void)
|
||||
goto out_unregister_sysdev_class;
|
||||
}
|
||||
|
||||
if (ret > 0) {
|
||||
/*
|
||||
* We cannot put the forward declaration in
|
||||
* <linux/linux_logo.h> because of conflicting session type
|
||||
* conflicts for const and __initdata with different compiler
|
||||
* versions
|
||||
*/
|
||||
extern const struct linux_logo logo_spe_clut224;
|
||||
|
||||
if (ret > 0)
|
||||
fb_append_extra_logo(&logo_spe_clut224, ret);
|
||||
}
|
||||
|
||||
mutex_lock(&spu_full_list_mutex);
|
||||
xmon_register_spus(&spu_full_list);
|
||||
|
Reference in New Issue
Block a user