mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_config_t
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_nic_config_t Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b94425ff70
commit
bd84b58877
1 changed files with 3 additions and 3 deletions
|
@ -1070,9 +1070,9 @@ struct hfa384x_pdr_hfa3861_chcali {
|
|||
u16 value[17];
|
||||
} __packed;
|
||||
|
||||
typedef struct hfa384x_pdr_hfa3861_nic_config {
|
||||
struct hfa384x_pdr_hfa3861_nic_config {
|
||||
u16 config_bitmap;
|
||||
} __packed hfa384x_pdr_nic_config_t;
|
||||
} __packed;
|
||||
|
||||
typedef struct hfa384x_pdr_hfo_delay {
|
||||
u8 hfo_delay;
|
||||
|
@ -1123,7 +1123,7 @@ typedef struct hfa384x_pdrec {
|
|||
struct hfa384x_pdr_hfa3861_ifrf hfa3861_ifrf;
|
||||
struct hfa384x_pdr_hfa3861_chcalsp hfa3861_chcalsp;
|
||||
struct hfa384x_pdr_hfa3861_chcali hfa3861_chcali;
|
||||
hfa384x_pdr_nic_config_t nic_config;
|
||||
struct hfa384x_pdr_hfa3861_nic_config nic_config;
|
||||
hfa384x_hfo_delay_t hfo_delay;
|
||||
hfa384x_pdr_hfa3861_manf_testsp_t hfa3861_manf_testsp;
|
||||
hfa384x_pdr_hfa3861_manf_testi_t hfa3861_manf_testi;
|
||||
|
|
Loading…
Reference in a new issue