From 8543725fc6e465f2a70c8fac297d4df788ea1d8e Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 2 Jan 2001 00:34:42 +0000 Subject: [PATCH] compile fixes --- comedi/drivers/das16-new.c | 2 ++ comedi/drivers/quatech_daqp_cs.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/comedi/drivers/das16-new.c b/comedi/drivers/das16-new.c index e2f830f9..9e09b72b 100644 --- a/comedi/drivers/das16-new.c +++ b/comedi/drivers/das16-new.c @@ -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; diff --git a/comedi/drivers/quatech_daqp_cs.c b/comedi/drivers/quatech_daqp_cs.c index 79ae66f2..696a8ef1 100644 --- a/comedi/drivers/quatech_daqp_cs.c +++ b/comedi/drivers/quatech_daqp_cs.c @@ -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; -- 2.26.2