Re: Section mismatches in drivers/video/console/promcon

David Miller
2007-06-05T06:53:14Z

From: Sam Ravnborg <sam@ravnborg.org>
Date: Sat, 2 Jun 2007 21:16:46 +0200

> >
> > promcon_init() can be called again from visual_init() during
> > vc_allocate(). So anything referenced by promcon_init() should not be
> > marked __init.
> >
> > Although, if you want to keep promfont_unitable and promfont_unicount
> > __init, you can probably use con_copy_unimap() using the default vc as
> > the source instead of doing a promcon_init_unimap() again.
>
> Too involved for me to look into.
> I cooked up following very minimal patch - if you agree can you then please
> forward/take care of it.
>
> Sam
>
> Subject: video: fix section mismatch warning in promcon

I'll merge this fix in via the Sparc tree since this is a sparc
console driver.

Thanks Sam.