]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial: bfin_5xx: add missing spin_lock init
authorMike Frysinger <vapier@gentoo.org>
Mon, 22 Jun 2009 17:37:24 +0000 (18:37 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:49:54 +0000 (16:49 -0700)
commite78a00fca1f50b3ce9da1e2e814d80103028a905
treefa7331a3a65577f2c23e734479c57b5f1fc8bec8
parent8329f58f8e68dc0c9c7c104d99207a5dd4d8eda1
serial: bfin_5xx: add missing spin_lock init

commit 9c529a3d76dffae943868ebad07b042d15764712 upstream.

The Blackfin serial driver never initialized the spin_lock that is part of
the serial core structure, but we never noticed because spin_lock's are
rarely enabled on UP systems.  Yeah lockdep and friends.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/bfin_5xx.c