summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-07-13 12:39:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-13 09:09:08 -0700
commit1d03d2bd6e6421224d618b120348bd5ee328d96a (patch)
tree2afae6ccb70c8532485b3c7ffa292300cc358bc1
parent7638d5322bd89d49e013a03fe2afaeb6d214fabd (diff)
downloadlinux-3.10-1d03d2bd6e6421224d618b120348bd5ee328d96a.tar.gz
linux-3.10-1d03d2bd6e6421224d618b120348bd5ee328d96a.tar.bz2
linux-3.10-1d03d2bd6e6421224d618b120348bd5ee328d96a.zip
Fix staging drivers after smp_lock.h redux
Commit 405f55712dfe464b3240d7816cc4fe4174831be2 ("headers: smp_lock.h redux") broke the build of two staging drivers. Fix them. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/staging/go7007/s2250-loader.c1
-rw-r--r--drivers/staging/usbip/usbip_common.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/go7007/s2250-loader.c b/drivers/staging/go7007/s2250-loader.c
index a5e4acab089..bb22347af60 100644
--- a/drivers/staging/go7007/s2250-loader.c
+++ b/drivers/staging/go7007/s2250-loader.c
@@ -17,6 +17,7 @@
#include <linux/module.h>
#include <linux/init.h>
+#include <linux/smp_lock.h>
#include <linux/usb.h>
#include <dvb-usb.h>
diff --git a/drivers/staging/usbip/usbip_common.c b/drivers/staging/usbip/usbip_common.c
index 22f93dd0ba0..251220dc885 100644
--- a/drivers/staging/usbip/usbip_common.c
+++ b/drivers/staging/usbip/usbip_common.c
@@ -18,6 +18,7 @@
*/
#include <linux/kernel.h>
+#include <linux/smp_lock.h>
#include <linux/file.h>
#include <linux/tcp.h>
#include <linux/in.h>