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: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tobin C. Harding 2017-04-27 11:25:27 +10:00 коммит произвёл Greg Kroah-Hartman
Родитель f730fb19dd
Коммит 0743ce5904
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -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_54M))
enum {
CONNECT_STATUS = 0,
enum connect_status_type {
CONNECT_STATUS,
DISCONNECT_STATUS
};
/* preamble type */
enum {
LONG_PREAMBLE = 0,
enum preamble_type {
LONG_PREAMBLE,
SHORT_PREAMBLE
};