Add #include <linux/semaphore.h>.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 26 Jul 2010 11:16:30 +0000 (11:16 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 26 Jul 2010 11:16:30 +0000 (11:16 +0000)
TODO: Migrate to use mutex instead, but note that it currently initializes
the semaphore in the 'locked' state.

comedi/drivers/quatech_daqp_cs.c

index e4832b5cae9f0d2ca185184719f9717c2576cd12..ceda71c64c5e85b39729839398c75838c6ab5ce9 100644 (file)
@@ -50,6 +50,7 @@ Devices: [Quatech] DAQP-208 (daqp), DAQP-308
 #include <linux/comedidev.h>
 
 #include <linux/version.h>
+#include <linux/semaphore.h>
 #include <pcmcia/cs_types.h>
 #include <pcmcia/cs.h>
 #include <pcmcia/cistpl.h>