[PATCH] Char: stallion, move init/deinit
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:40 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:55 +0000 (08:28 -0800)
commit23b85a152b4598ae007db7d5a5318458ea2fd647
tree3e42c461ee32152134b0cd07159fea25ea591873
parentca7ed0f22f4876986b2eb1fbd80ba78e07fd69d5
[PATCH] Char: stallion, move init/deinit

- Move code from stl_init into module init function, because calling it was the
  only one thing, that it did.
- Move this code to the end of the driver (usual place for this) to resolve
  dependencies simply -- without prototypes.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/stallion.c