Thread (7 messages) 7 messages, 3 authors, 2004-11-23

Re: Re: [2.6 patch] drivers/video/: misc cleanups

flat view

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-11-22 09:52:22
Also in: lkml

On Mon, 22 Nov 2004, Antonino A. Daplas wrote:
On Sunday 21 November 2004 23:58, Adrian Bunk wrote:
quoted
On Sun, Nov 21, 2004 at 04:37:02PM +0100, Adrian Bunk wrote:
quoted
The patch below does the following cleanups under drivers/video/ :
- make some needlessly global code static
- the following was needlessly EXPORT_SYMBOL'ed:
  - fbcon.c: fb_con
  - mdacon.c: fb_blank
  - fbmon.c: get_EDID_from_firmware (completely unused)
...
I forgot one thing:

Please review my global_mode_option removal in modedb.c .

It was always NULL and I'd say the only usage was wrong (although it
had no practical effect).
Should be ok to remove it.  I only see fb_find_mode using it, and as
you've concluded, usage is not very clear.

BTW: The global_mode_option, previously, is filled up when no driver is
specified in the boot options, such as "video=1024x768@60".  But this was
removed during the fb initialization cleanup.
What a pity... It allowed people to not have to care about the name of their
graphics driver(s)...

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help