tty: move tioclinux from a special case
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:36:40 +0000 (10:36 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:40 +0000 (09:51 -0700)
commite6885107736a4dd23e7d3bc103fe6d043c63c4de
tree77454a1a03bd0021945e3e6ef08b6f39ef8dbf14
parentb70ac7718579b5cbf3bdd74fd01132d1c91596f4
tty: move tioclinux from a special case

Right now we have ifdefs and hooks in the core ioctl handler for TIOCLINUX
and then test if its a console. This is brain dead. Instead call the
tioclinux helper from the relevant driver ioctl methods.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c
drivers/char/vt.c
drivers/char/vt_ioctl.c