Commit 7ae70c8b authored by Leonid V. Fedorenchik's avatar Leonid V. Fedorenchik Committed by Greg Kroah-Hartman

Staging: cx25821: Get rid of typedef in cx25821.h

Get rid of typedef in cx25821.h
Signed-off-by: default avatarLeonid V. Fedorenchik <leonidsbox@gmail.com>
Reviewed-By: default avatarValdis Kletnieks <valdis.kletnieks@vt.edu>
Reviewed-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2ccbec05
...@@ -179,15 +179,17 @@ struct cx25821_input { ...@@ -179,15 +179,17 @@ struct cx25821_input {
u32 gpio0, gpio1, gpio2, gpio3; u32 gpio0, gpio1, gpio2, gpio3;
}; };
typedef enum { enum port {
CX25821_UNDEFINED = 0, CX25821_UNDEFINED = 0,
CX25821_RAW, CX25821_RAW,
CX25821_264 CX25821_264
} port_t; };
struct cx25821_board { struct cx25821_board {
char *name; char *name;
port_t porta, portb, portc; enum port porta;
enum port portb;
enum port portc;
unsigned int tuner_type; unsigned int tuner_type;
unsigned int radio_type; unsigned int radio_type;
unsigned char tuner_addr; unsigned char tuner_addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment