lkml.org 
[lkml]   [2009]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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>
---
drivers/staging/go7007/s2250-loader.c | 1 +
drivers/staging/usbip/usbip_common.c | 1 +
2 files changed, 2 insertions(+)

--- linux-2.6.31-rc2.orig/drivers/staging/go7007/s2250-loader.c 2009-06-10 05:05:27.000000000 +0200
+++ linux-2.6.31-rc2/drivers/staging/go7007/s2250-loader.c 2009-07-13 11:38:39.000000000 +0200
@@ -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>

--- linux-2.6.31-rc2.orig/drivers/staging/usbip/usbip_common.c 2009-06-10 05:05:27.000000000 +0200
+++ linux-2.6.31-rc2/drivers/staging/usbip/usbip_common.c 2009-07-13 12:31:18.000000000 +0200
@@ -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>

--
Jean Delvare


\
 
 \ /
  Last update: 2009-07-13 12:43    [W:0.053 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site