Char: stallion, alloc tty before pci devices init
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Jun 2007 20:46:52 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:33 +0000 (17:23 -0700)
commite415109f5a1ec9ca7dac4fad2b852113ce303c96
treeef088e17cc9591caac6dcc4a918a424ffc4f81f6
parent64834b226b237e654ab164d3af88ceaa65f10362
Char: stallion, alloc tty before pci devices init

this causes oops, because pci probe function calls tty_register_device for
each device found. Thanks to Ingo.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: "Ingo Korb" <ingo@akana.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/stallion.c