compile fixes
authorDavid Schleef <ds@schleef.org>
Tue, 2 Jan 2001 00:34:42 +0000 (00:34 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 2 Jan 2001 00:34:42 +0000 (00:34 +0000)
comedi/drivers/das16-new.c
comedi/drivers/quatech_daqp_cs.c

index e2f830f9f14dd6133c874583f14c130f1e2e35eb..9e09b72ba73f96c762eb38bbb51bef6593810667 100644 (file)
@@ -236,7 +236,9 @@ static void das16_interrupt(int irq, void *d, struct pt_regs *regs);
 
 static float das16_set_pacer(comedi_device *dev, unsigned int ns);
 static int das1600_mode_detect(comedi_device *dev);
+#ifdef DEBUG
 static void reg_dump(comedi_device *dev);
+#endif
 
 struct das16_board_struct{
        char            *name;
index 79ae66f23548ab1899c2782b8a671f6dc50b98ab..696a8ef103383d0a7256207b7d1b4445d2926516 100644 (file)
@@ -537,7 +537,7 @@ static dev_link_t *daqp_cs_attach(void)
     link = &local->link;
     link->priv = local;
 
-    init_waitqueue(&local->endofscan);
+    init_waitqueue_head(&local->endofscan);
 
     /* Initialize the dev_link_t structure */
     link->release.function = &daqp_cs_release;