From: Bill Pemberton Date: Tue, 17 Mar 2009 02:19:58 +0000 (-0400) Subject: Staging: comedi: Remove S526_GPCT_APP_CLASS typedef X-Git-Tag: firefly_0821_release~14777^2~140 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dfb0503e2baf2292da93faae78db4bb98d9f095e;p=firefly-linux-kernel-4.4.55.git Staging: comedi: Remove S526_GPCT_APP_CLASS typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- 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;