diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-04 07:22:16 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-04 07:42:22 -0400 |
commit | d5919586265d36c6694a5d10ba589c02806873b6 (patch) | |
tree | b87f83c8215a65e1f1eb0b585d05afb21c15caaf /drivers/net | |
parent | 96eb549c0c20cf63ca13fac71d9d406701f744a6 (diff) |
[PATCH] AX.25: Convert mkiss.c to DEFINE_RWLOCK
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
drivers/net/hamradio/mkiss.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/hamradio/mkiss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c index 793ae12a2571..331a75c8aee2 100644 --- a/drivers/net/hamradio/mkiss.c +++ b/drivers/net/hamradio/mkiss.c | |||
@@ -622,7 +622,7 @@ static void ax_setup(struct net_device *dev) | |||
622 | * best way to fix this is to use a rwlock in the tty struct, but for now we | 622 | * best way to fix this is to use a rwlock in the tty struct, but for now we |
623 | * use a single global rwlock for all ttys in ppp line discipline. | 623 | * use a single global rwlock for all ttys in ppp line discipline. |
624 | */ | 624 | */ |
625 | static rwlock_t disc_data_lock = RW_LOCK_UNLOCKED; | 625 | static DEFINE_RWLOCK(disc_data_lock); |
626 | 626 | ||
627 | static struct mkiss *mkiss_get(struct tty_struct *tty) | 627 | static struct mkiss *mkiss_get(struct tty_struct *tty) |
628 | { | 628 | { |