Skip to content

Commit

Permalink
Staging: cx25821: Get rid of typedef in cx25821.h
Browse files Browse the repository at this point in the history
Get rid of typedef in cx25821.h

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Reviewed-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Leonid V. Fedorenchik authored and Greg Kroah-Hartman committed Sep 12, 2011
1 parent 2ccbec0 commit 7ae70c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/staging/cx25821/cx25821.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ae70c8

Please sign in to comment.