[PATCH -next] staging/rtl8187se: needs semaphore.h

Randy Dunlap randy.dunlap at oracle.com
Tue Feb 16 22:59:07 UTC 2010


From: Randy Dunlap <randy.dunlap at oracle.com>

rtl8187se needs to include semaphore.h to prevent build errors:

drivers/staging/rtl8187se/ieee80211/ieee80211.h:1004: error: field 'wx_sem' has incomplete type
drivers/staging/rtl8187se/ieee80211/ieee80211.h:1005: error: field 'scan_sem' has incomplete type

Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211.h |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20100216.orig/drivers/staging/rtl8187se/ieee80211/ieee80211.h
+++ linux-next-20100216/drivers/staging/rtl8187se/ieee80211/ieee80211.h
@@ -29,6 +29,7 @@
 #include <linux/jiffies.h>
 #include <linux/timer.h>
 #include <linux/sched.h>
+#include <linux/semaphore.h>
 #include <linux/wireless.h>
 #include <linux/ieee80211.h>
 



More information about the devel mailing list