From: Akinobu Mita Date: Thu, 30 Oct 2008 00:16:04 +0000 (-0300) Subject: V4L/DVB (9494): anysee: initialize anysee_usb_mutex statically X-Git-Tag: v2.6.28-rc5~85^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec0c46ac2af9bbc4a2acd56e5bffbf02f20113e;p=pandora-kernel.git V4L/DVB (9494): anysee: initialize anysee_usb_mutex statically anysee_usb_mutex is initialized at every time the anysee device is probed. If the second anysee device is probed while anysee_usb_mutex is locked by the first anysee device, the mutex is broken. This patch fixes by initialize anysee_usb_mutex statically rather than initialize at probe time. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed