[PATCH] hgafb logo band-aid removal (2.4.5-ac1)

Bakonyi Ferenc (fero@drama.obuda.kando.hu)
Sun, 27 May 2001 19:57:56 +0200 (CEST)


Hi Alan!

This patch removes all brain-damaged band-aid patch sent by
various people and also corrects the logo issue the right way.

Best regards:
Ferenc Bakonyi

--- linux.ac/drivers/video/hgafb.c.bad Sun May 27 19:47:28 2001
+++ linux.ac/drivers/video/hgafb.c Sun May 27 19:24:10 2001
@@ -47,9 +47,9 @@
#include <video/fbcon.h>
#include <video/fbcon-hga.h>

-#ifndef MODULE
+#ifdef MODULE

-#define INCLUDE_LINUX_LOGOBW
+#define INCLUDE_LINUX_LOGO_DATA
#include <linux/linux_logo.h>

#endif /* MODULE */
@@ -271,7 +271,7 @@
spin_unlock_irqrestore(&hga_reg_lock, flags);
}

-#ifndef MODULE
+#ifdef MODULE
static void hga_show_logo(void)
{
int x, y;
@@ -712,7 +712,7 @@

hga_gfx_mode();
hga_clear_screen();
-#ifndef MODULE
+#ifdef MODULE
if (!nologo) hga_show_logo();
#endif /* MODULE */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/