Skip to content

Commit

Permalink
staging: vt6655: Change typedef enum to enum
Browse files Browse the repository at this point in the history
Change typedef enum to enum. Issue found with checkpatch.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Nishka Dasgupta authored and Greg Kroah-Hartman committed Mar 22, 2018
1 parent dba18d6 commit f817464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/vt6655/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
#define CB_MAX_CHANNEL_5G 42
#define CB_MAX_CHANNEL (CB_MAX_CHANNEL_24G + CB_MAX_CHANNEL_5G)

typedef enum _CARD_PKT_TYPE {
enum CARD_PKT_TYPE {
PKT_TYPE_802_11_BCN,
PKT_TYPE_802_11_MNG,
PKT_TYPE_802_11_DATA,
PKT_TYPE_802_11_ALL
} CARD_PKT_TYPE, *PCARD_PKT_TYPE;
};

typedef enum _CARD_STATUS_TYPE {
CARD_STATUS_MEDIA_CONNECT,
Expand Down

0 comments on commit f817464

Please sign in to comment.