X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Flogo%2Flogo.c;h=80c03618eb535910b7796eab43006c0b841422f7;hb=refs%2Fheads%2Fvserver;hp=3ac34c1d54409e729018bc0e32d322654ebaef4e;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c index 3ac34c1d5..80c03618e 100644 --- a/drivers/video/logo/logo.c +++ b/drivers/video/logo/logo.c @@ -9,14 +9,15 @@ * Copyright (C) 2003 Geert Uytterhoeven */ -#include #include +#include +#include #ifdef CONFIG_M68K #include #endif -#if defined(CONFIG_MIPS) || defined(CONFIG_MIPS64) +#ifdef CONFIG_MIPS #include #endif @@ -31,11 +32,12 @@ extern const struct linux_logo logo_sun_clut224; extern const struct linux_logo logo_superh_mono; extern const struct linux_logo logo_superh_vga16; extern const struct linux_logo logo_superh_clut224; +extern const struct linux_logo logo_m32r_clut224; const struct linux_logo *fb_find_logo(int depth) { - const struct linux_logo *logo = 0; + const struct linux_logo *logo = NULL; if (depth >= 1) { #ifdef CONFIG_LOGO_LINUX_MONO @@ -65,8 +67,10 @@ const struct linux_logo *fb_find_logo(int depth) logo = &logo_linux_clut224; #endif #ifdef CONFIG_LOGO_DEC_CLUT224 - /* DEC Linux logo on MIPS/MIPS64 */ + /* DEC Linux logo on MIPS/MIPS64 or ALPHA */ +#ifndef CONFIG_ALPHA if (mips_machgroup == MACH_GROUP_DEC) +#endif logo = &logo_dec_clut224; #endif #ifdef CONFIG_LOGO_MAC_CLUT224 @@ -92,8 +96,12 @@ const struct linux_logo *fb_find_logo(int depth) #ifdef CONFIG_LOGO_SUPERH_CLUT224 /* SuperH Linux logo */ logo = &logo_superh_clut224; +#endif +#ifdef CONFIG_LOGO_M32R_CLUT224 + /* M32R Linux logo */ + logo = &logo_m32r_clut224; #endif } return logo; } - +EXPORT_SYMBOL_GPL(fb_find_logo);