From: Akinobu Mita Date: Sat, 13 Sep 2008 10:03:32 +0000 (+0900) Subject: mmc_test: initialize mmc_test_lock statically X-Git-Tag: v2.6.27-rc7~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a650031a6bd16cb6789da9b3c27fc97341239f12;p=pandora-kernel.git mmc_test: initialize mmc_test_lock statically The mutex mmc_test_lock is initialized at every time mmc_test device is probed. Probing another mmc_test device may break the mutex, if the probe function is called while the mutex is locked. This patch fixes it by statically initializing mmc_test_lock. Signed-off-by: Akinobu Mita Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed