Re: [PATCH] move MAX_NR_CONSOLES from tty.h to vt.h

From: Jon Smirl
Date: Wed Jun 28 2006 - 19:38:37 EST


On 6/28/06, Antonino A. Daplas <adaplas@xxxxxxxxx> wrote:
Jon Smirl wrote:
> MAX_NR_CONSOLES is more of a function of the VT layer than the TTY
> one. Moving this to vt.h allows all of the framebuffer drivers to
> remove their dependency on tty.h. Note that console drivers in
> video/console still depend on tty.h but fbdev drivers should not
> depend on the tty layer.

In fact, none of the VT console drivers should have any dependency
on tty.h, only vt.c should.

I think, the only thing needed by fbcon (and all other drivers in
drivers/video/console) in tty.h is fg_console. We can move that
to vt_kern.h instead.

Do you want to take over this patch and merge it via your tree? Do you
want to move fg_console or do you want me to?

The patch in this message is related.
[PATCH] remove include of screen_info.h from tty.h

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