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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux