diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-02-04 23:39:36 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-02-04 23:39:36 +0000 |
commit | cdfadc6ad73cfaf0acfd3da9fe3696b83669ff2e (patch) | |
tree | ec1293f79a9b92477d20d02d8784469e0e07349d /media-video/stk11xx/files/stk11xx-2.6.37.patch | |
parent | stable x86, security bug 353326 (diff) | |
download | historical-cdfadc6ad73cfaf0acfd3da9fe3696b83669ff2e.tar.gz historical-cdfadc6ad73cfaf0acfd3da9fe3696b83669ff2e.tar.bz2 historical-cdfadc6ad73cfaf0acfd3da9fe3696b83669ff2e.zip |
Add a patch to fix building against 2.6.37 kernel.
Package-Manager: portage-2.2.0_alpha19_p84/cvs/Linux x86_64
Diffstat (limited to 'media-video/stk11xx/files/stk11xx-2.6.37.patch')
-rw-r--r-- | media-video/stk11xx/files/stk11xx-2.6.37.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-video/stk11xx/files/stk11xx-2.6.37.patch b/media-video/stk11xx/files/stk11xx-2.6.37.patch new file mode 100644 index 000000000000..d7a8bac31b22 --- /dev/null +++ b/media-video/stk11xx/files/stk11xx-2.6.37.patch @@ -0,0 +1,16 @@ +diff -ruN driver.org//stk11xx-usb.c driver/stk11xx-usb.c +--- driver.org//stk11xx-usb.c 2011-01-06 21:51:53.674999852 +0200 ++++ driver/stk11xx-usb.c 2011-01-06 21:56:44.418999851 +0200 +@@ -844,7 +844,12 @@ + } + + // Init mutexes, spinlock, etc. ++ ++#ifndef init_MUTEX ++ sema_init(&dev->mutex,1); ++#else + init_MUTEX(&dev->mutex); ++#endif + mutex_init(&dev->modlock); + spin_lock_init(&dev->spinlock); + init_waitqueue_head(&dev->wait_frame); |