diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-04-25 22:48:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-26 09:43:04 +0200 |
commit | 824ea37b6d999f01712be4454b71f4a3aac5f912 (patch) | |
tree | 2b6ef093a93f5387944e7d10438ea7e646ad0515 /drivers/staging | |
parent | e4c3577d46263fb9b93dab2ecefb0bf3ff30ea3f (diff) |
staging: wilc1000: rename num_reg_frame macro to have uppercase in macro name
Cleanup patch to follow name as per linux coding style.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_netdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h index 35bc4df9132a..4bc1899da171 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h @@ -65,7 +65,7 @@ struct wilc_wfi_stats { * packets in and out, so there is place for a packet */ -#define num_reg_frame 2 +#define NUM_REG_FRAME 2 struct wilc_wfi_key { u8 *key; @@ -146,7 +146,7 @@ struct wilc_vif { u8 iftype; int monitor_flag; int mac_opened; - struct frame_reg frame_reg[num_reg_frame]; + struct frame_reg frame_reg[NUM_REG_FRAME]; struct net_device_stats netstats; struct wilc *wilc; u8 src_addr[ETH_ALEN]; |