]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 22 Jun 2009 18:32:23 +0000 (11:32 -0700)
commit2831225f373e4b177999f1b46c5f84d67ada271a
treed601295f0a0d182dcd7731d6b7e5619488d701ef
parent0752ebdb0f42c0a4bae6e84f43a1d2b219f8349b
serial: bfin_5xx: add missing spin_lock init

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>
drivers/serial/bfin_5xx.c