]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: comedi: fix build errors in pcmcia comedi drivers
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Apr 2009 16:50:08 +0000 (09:50 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:30 +0000 (11:00 -0700)
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>
drivers/staging/comedi/drivers/ni_daq_dio24.c
drivers/staging/comedi/drivers/ni_labpc_cs.c
drivers/staging/comedi/drivers/ni_mio_cs.c

index 4be9deffbcfd2ee47d36e18392c2046fcd9776f2..7f9e502403c861d3be72c350c1cebb2719d936db 100644 (file)
@@ -37,7 +37,7 @@ This is just a wrapper around the 8255.o driver to properly handle
 the PCMCIA interface.
 */
 
-/* #define LABPC_DEBUG   /*  enable debugging messages */ */
+/* #define LABPC_DEBUG */   /*  enable debugging messages */
 #undef LABPC_DEBUG
 
 #include "../comedidev.h"
index a78a2095dd969b4cfb55a59ad2882c393cfedee8..ac3352fed6d634c223432036a36078b7c247b126 100644 (file)
@@ -60,7 +60,7 @@ NI manuals:
 */
 
 #undef LABPC_DEBUG
-/* #define LABPC_DEBUG   /*  enable debugging messages */ */
+/* #define LABPC_DEBUG */   /*  enable debugging messages */
 
 #include "../comedidev.h"
 
index 228b1ca220e7665240dadd5a08b399b5ed044c05..eef01984ab2a666085240c7df8b24d4cf156fe51 100644 (file)
@@ -66,7 +66,7 @@ See the notes in the ni_atmio.o driver.
 
 #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,