From: Jarkko Nikula Date: Mon, 18 Apr 2011 19:21:30 +0000 (+0000) Subject: cbus: tahvo: Fix build breakage caused by deprecated initializer removal X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dff5b0699bcab4cada24dabdace58f65a1490dd3;p=pandora-kernel.git cbus: tahvo: Fix build breakage caused by deprecated initializer removal Use DEFINE_SPINLOCK() for static spinlock initialization as the commit d04fa5a "locking: Remove deprecated lock initializers" removes the deprecated SPIN_LOCK_UNLOCKED. Since tahvo_lock is not used elsewhere than tahvo.c it can be removed from tahvo.h too. Signed-off-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed