Re: [PATCH] 2.5 fix link with fbcon built-in

James Simmons (jsimmons@infradead.org)
Mon, 30 Dec 2002 18:37:07 +0000 (GMT)


> In current bk 2.5, drivers/video/console/fonts.c exports an
> init_module() symbol when built-in, which prevents the kernel from
> linking. Here's a quick fix.
>
> Ben.
>
> --- 1.10/drivers/video/console/fonts.c Fri Nov 29 18:37:57 2002
> +++ edited/drivers/video/console/fonts.c Mon Dec 30 11:36:42 2002
> @@ -130,8 +130,10 @@
> return g;
> }
>
> +#ifdef MODULE
> int init_module(void) { return 0; };
> void cleanup_module(void) {};
> +#endif
>
> EXPORT_SYMBOL(fonts);
> EXPORT_SYMBOL(find_font);

Applied to BK tree.

-
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/