X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Flogo%2Flogo.c;h=80c03618eb535910b7796eab43006c0b841422f7;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=2dc5b4e92439aad14cd0d8ffcf93479a2f8535e8;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c index 2dc5b4e92..80c03618e 100644 --- a/drivers/video/logo/logo.c +++ b/drivers/video/logo/logo.c @@ -9,8 +9,9 @@ * Copyright (C) 2003 Geert Uytterhoeven */ -#include #include +#include +#include #ifdef CONFIG_M68K #include @@ -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);