OSDN Git Service

Staging: comedi: Use explicit value for enumerated constant INSN_CONFIG_GET_HARDWARE_...
authorIan Abbott <abbotti@mev.co.uk>
Fri, 30 Jan 2009 12:59:26 +0000 (12:59 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:52 +0000 (14:53 -0700)
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi.h

index 36d2e1b..14b376c 100644 (file)
@@ -261,10 +261,11 @@ enum configuration_ids {
        INSN_CONFIG_GET_CLOCK_SRC = 2004,       /* Get master clock source */
        INSN_CONFIG_SET_OTHER_SRC = 2005,       /* Set other source */
 /*     INSN_CONFIG_GET_OTHER_SRC = 2006,*/     /* Get other source */
-       INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE,   /* Get size in bytes of
-                                                 subdevice's on-board fifos
-                                                 used during streaming
-                                                 input/output */
+       INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE = 2006,    /* Get size in bytes of
+                                                          subdevice's on-board
+                                                          fifos used during
+                                                          streaming
+                                                          input/output */
        INSN_CONFIG_SET_COUNTER_MODE = 4097,
        INSN_CONFIG_8254_SET_MODE = INSN_CONFIG_SET_COUNTER_MODE,       /* deprecated */
        INSN_CONFIG_8254_READ_STATUS = 4098,