]> git.hungrycats.org Git - linux/commit
[IRDA]: Fix irtty line disc and module semantics.
authorStephen Hemminger <shemminger@osdl.org>
Sat, 16 Aug 2003 01:08:31 +0000 (18:08 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Sat, 16 Aug 2003 01:08:31 +0000 (18:08 -0700)
commitee105769c36b78ca603ac3b0548b818b90a2482c
tree1d407c032e88c9913dac7c72f5c9a0438d06ff28
parent9d4d51ccf627c2b0e9471f6b6b262968d7285d42
[IRDA]: Fix irtty line disc and module semantics.

The irda tty line discipline does not handle the new module
paradigm well.  This patch fixes that:
- initialize line discipline as data, not with code
- set module owner
- make prototype for irtty_ioctl match expected
  arguments from tty discipline
- get rid of explicit MOD_INC/MOD_DEC
drivers/net/irda/irtty.c