Re:[PATCH] hga depmod fix

From: Bakonyi Ferenc (fero@drama.obuda.kando.hu)
Date: Thu May 24 2001 - 04:51:38 EST


> Date: 23 May 2001 22:44:38 +0200
> From: Juan Quintela <quintela@mandrakesoft.com>
> To: alan@redhat.com, linux-kernel@vger.kernel.org
> Subject: [PATCH] hga depmod fix
>
>
> Hi
> if you compile hga as a module, you get unresolved symbols,
> you need the following patch for it.
> The patch is trivial. Apply, please.
>
> Later, Juan.

The patch seems to be trivial but it isn't. This patch breaks the
normal behavior of hgafb. I'll investigate this issue further.

Regards:
        Ferenc Bakonyi

>
> --- linux/drivers/video/hgafb.c.~1~ Mon May 21 08:56:08 2001
> +++ linux/drivers/video/hgafb.c Mon May 21 09:04:00 2001
> @@ -712,7 +712,7 @@
>
> hga_gfx_mode();
> hga_clear_screen();
> -#ifdef MODULE
> +#ifndef 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/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:14 EST