瀏覽代碼

Staging: comedi: Remove s526_gpct_config_t typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Bill Pemberton 16 年之前
父節點
當前提交
39f7666080
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      drivers/staging/comedi/drivers/s526.c

+ 3 - 3
drivers/staging/comedi/drivers/s526.c

@@ -146,10 +146,10 @@ enum S526_GPCT_APP_CLASS {
 /* Config struct for different GPCT subdevice Application Classes and
    their options
 */
-typedef struct s526GPCTConfig {
+struct s526GPCTConfig {
 	enum S526_GPCT_APP_CLASS app;
 	int data[MAX_GPCT_CONFIG_DATA];
-} s526_gpct_config_t;
+};
 
 /*
  * Board descriptions for two imaginary boards.  Describing the
@@ -201,7 +201,7 @@ struct s526_private {
 	/* Used for AO readback */
 	unsigned int ao_readback[2];
 
-	s526_gpct_config_t s526_gpct_config[4];
+	struct s526GPCTConfig s526_gpct_config[4];
 	unsigned short s526_ai_config;
 };