ソースを参照

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>
Bill Pemberton 16 年 前
コミット
dfb0503e2b
1 ファイル変更3 行追加3 行削除
  1. 3 3
      drivers/staging/comedi/drivers/s526.c

+ 3 - 3
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;