Staging: comedi: fix build errors in pcmcia comedi drivers
This fixes a few minor build errors that were previously undetected in
the comedi pcmcia drivers.
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/staging/comedi/drivers/ni_daq_dio24.c b/drivers/staging/comedi/drivers/ni_daq_dio24.c
index 4be9def..7f9e502 100644
--- a/drivers/staging/comedi/drivers/ni_daq_dio24.c
+++ b/drivers/staging/comedi/drivers/ni_daq_dio24.c
@@ -37,7 +37,7 @@
the PCMCIA interface.
*/
-/* #define LABPC_DEBUG /* enable debugging messages */ */
+/* #define LABPC_DEBUG */ /* enable debugging messages */
#undef LABPC_DEBUG
#include "../comedidev.h"
diff --git a/drivers/staging/comedi/drivers/ni_labpc_cs.c b/drivers/staging/comedi/drivers/ni_labpc_cs.c
index a78a209..ac3352f 100644
--- a/drivers/staging/comedi/drivers/ni_labpc_cs.c
+++ b/drivers/staging/comedi/drivers/ni_labpc_cs.c
@@ -60,7 +60,7 @@
*/
#undef LABPC_DEBUG
-/* #define LABPC_DEBUG /* enable debugging messages */ */
+/* #define LABPC_DEBUG */ /* enable debugging messages */
#include "../comedidev.h"
diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c
index 228b1ca..eef0198 100644
--- a/drivers/staging/comedi/drivers/ni_mio_cs.c
+++ b/drivers/staging/comedi/drivers/ni_mio_cs.c
@@ -66,7 +66,7 @@
#define MAX_N_CALDACS 32
-static const ni_board ni_boards[] = {
+static const struct ni_board_struct ni_boards[] = {
{device_id:0x010d,
name: "DAQCard-ai-16xe-50",
n_adchan:16,