]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Char: rocket, fix dynamic_dev tty
authorJiri Slaby <jirislaby@gmail.com>
Thu, 18 Oct 2007 10:06:26 +0000 (03:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 17:30:24 +0000 (09:30 -0800)
commit76d41df34060a0e464a4e451f00610fd816c030e
tree9952d54cf11bcd82f56fea819992d98846cfa88d
parent236fc43928d4aa33065d41ee830896b56e45c477
Char: rocket, fix dynamic_dev tty

patch ac6aec2f5683588361ab408cb3346b08c66bdfbe in mainline.

- 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)

This is the substantial part of the patch and the previous point is for
not checking which devices to unregister and which not (simply register
and unregister all found no matter on which bus they are plugged).

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/rocket.c