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

From: Randy Dunlap
Date: Tue Feb 16 2010 - 17:59:43 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
---
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>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/