From: Leonid V. Fedorenchik Date: Fri, 2 Sep 2011 03:55:29 +0000 (+0800) Subject: Staging: cx25821: Get rid of typedef in cx25821.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ae70c8b8c8c22d4a4f333fa132b01da3c25a453;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Staging: cx25821: Get rid of typedef in cx25821.h Get rid of typedef in cx25821.h Signed-off-by: Leonid V. Fedorenchik Reviewed-By: Valdis Kletnieks Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cx25821/cx25821.h b/drivers/staging/cx25821/cx25821.h index 6230243e2ccb..a282592a827e 100644 --- a/drivers/staging/cx25821/cx25821.h +++ b/drivers/staging/cx25821/cx25821.h @@ -179,15 +179,17 @@ struct cx25821_input { u32 gpio0, gpio1, gpio2, gpio3; }; -typedef enum { +enum port { CX25821_UNDEFINED = 0, CX25821_RAW, CX25821_264 -} port_t; +}; struct cx25821_board { char *name; - port_t porta, portb, portc; + enum port porta; + enum port portb; + enum port portc; unsigned int tuner_type; unsigned int radio_type; unsigned char tuner_addr;