aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/miropcm20-rds-core.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2008-09-13 06:03:32 -0400
committerPierre Ossman <drzeus@drzeus.cx>2008-09-20 07:03:50 -0400
commita650031a6bd16cb6789da9b3c27fc97341239f12 (patch)
treec16f1426a9d911dc2dfa327fa932a01ef2179171 /drivers/media/radio/miropcm20-rds-core.c
parent9d4e98e9609bc19d4a8ac4a5c3218358d1820114 (diff)
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 <akinobu.mita@gmail.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/media/radio/miropcm20-rds-core.c')
0 files changed, 0 insertions, 0 deletions