From: Oliver Hartkopp Date: Wed, 19 May 2010 06:46:38 +0000 (+0000) Subject: can: SJA1000 add missing spin_lock_init() X-Git-Tag: v2.6.35-rc1~260^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f01bfd202bc539bccd282befa2bbdb8d6ad80ee;p=pandora-kernel.git can: SJA1000 add missing spin_lock_init() As remarked by Sam Ravnborg the spin_lock variable, that has been introduced in commit 57c8a456640fa3ca777652f11f2db4179a3e66b6 ("can: Fix SJA1000 command register writes on SMP systems") has not been initialized properly. This patch adds the initialization to allow spinlock debugging. Signed-off-by: Oliver Hartkopp CC: Sam Ravnborg Signed-off-by: David S. Miller --- Reading git-diff-tree failed