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

From: Antonino A. Daplas
Date: Wed Jun 28 2006 - 19:14:37 EST


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.

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