vserver 2.0 rc7
[linux-2.6.git] / drivers / video / logo / logo.c
index 2dc5b4e..77b6220 100644 (file)
@@ -11,6 +11,8 @@
 
 #include <linux/config.h>
 #include <linux/linux_logo.h>
+#include <linux/stddef.h>
+#include <linux/module.h>
 
 #ifdef CONFIG_M68K
 #include <asm/setup.h>
@@ -35,7 +37,7 @@ extern const struct linux_logo logo_superh_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
@@ -96,4 +100,4 @@ const struct linux_logo *fb_find_logo(int depth)
        }
        return logo;
 }
-
+EXPORT_SYMBOL_GPL(fb_find_logo);