]> err.no Git - linux-2.6/commit
Char: rocket, fix dynamic_dev tty
authorJiri Slaby <jirislaby@gmail.com>
Thu, 18 Oct 2007 10:06:26 +0000 (03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:27 +0000 (14:37 -0700)
commitac6aec2f5683588361ab408cb3346b08c66bdfbe
treeef2a411348f11d49ef9eb5eeda6455f8f73b8e71
parent8cf5a8c5729116d0d60815393ec9f1c0f0bc2df7
Char: rocket, fix dynamic_dev tty

- register_device unconditionally (non-pci dependent) to have also isa
  devices in /dev
- unregister devices on module removal
- don't set TTY_DRIVER_DYNAMIC_DEV twice (removed the one dependent on some
  macro)

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/rocket.c