Commit 0743ce59 authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman

staging: ks7010: fix enumeration tags

Driver header declares enumeration types without tags. Using
informative tags makes the code easier to understand and
eliminates the need to comment the enum.

Add tags to enumeration types.
Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f730fb19
...@@ -613,14 +613,13 @@ struct hostif_mic_failure_confirm_t { ...@@ -613,14 +613,13 @@ struct hostif_mic_failure_confirm_t {
((A & RATE_MASK) == TX_RATE_36M) || ((A & RATE_MASK) == TX_RATE_48M) || \ ((A & RATE_MASK) == TX_RATE_36M) || ((A & RATE_MASK) == TX_RATE_48M) || \
((A & RATE_MASK) == TX_RATE_54M)) ((A & RATE_MASK) == TX_RATE_54M))
enum { enum connect_status_type {
CONNECT_STATUS = 0, CONNECT_STATUS,
DISCONNECT_STATUS DISCONNECT_STATUS
}; };
/* preamble type */ enum preamble_type {
enum { LONG_PREAMBLE,
LONG_PREAMBLE = 0,
SHORT_PREAMBLE SHORT_PREAMBLE
}; };
......
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