summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-16 22:19:58 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:11 -0700
commitdfb0503e2baf2292da93faae78db4bb98d9f095e (patch)
tree6a899e2bf16b09b5db5dfbdd2dfc77896b28fc97
parent387c136adc72da7f06f37274822ad9c38f529156 (diff)
Staging: comedi: Remove S526_GPCT_APP_CLASS typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/comedi/drivers/s526.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/s526.c b/drivers/staging/comedi/drivers/s526.c
index d112515feccd..939e17f993d9 100644
--- a/drivers/staging/comedi/drivers/s526.c
+++ b/drivers/staging/comedi/drivers/s526.c
@@ -135,19 +135,19 @@ union {
/* Different Application Classes for GPCT Subdevices */
/* The list is not exhaustive and needs discussion! */
-typedef enum {
+enum S526_GPCT_APP_CLASS {
CountingAndTimeMeasurement,
SinglePulseGeneration,
PulseTrainGeneration,
PositionMeasurement,
Miscellaneous
-} S526_GPCT_APP_CLASS;
+};
/* Config struct for different GPCT subdevice Application Classes and
their options
*/
typedef struct s526GPCTConfig {
- S526_GPCT_APP_CLASS app;
+ enum S526_GPCT_APP_CLASS app;
int data[MAX_GPCT_CONFIG_DATA];
} s526_gpct_config_t;