diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2019-02-05 07:16:05 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-07 13:31:20 +0100 |
commit | 2a95c4e04acf91d8d65dc9535fcb672734a0736d (patch) | |
tree | 77cbc85c33af4b0476d0697315cfb535c1cc698b /drivers/staging/wilc1000 | |
parent | 0d0f0b06a13e44d9a0ca18b79d6205c11bc47320 (diff) | |
download | linux-2a95c4e04acf91d8d65dc9535fcb672734a0736d.tar.bz2 |
staging: wilc1000: define p2p related static variable as constants
Add constant qualifer for 'p2p_vendor_spec' & 'p2p_oui' static
variable because they are treated like constant values.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index dd1fe3ff495c..8fb4bd4d24e7 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -67,8 +67,8 @@ struct p2p_mgmt_data { u8 *buff; }; -static u8 p2p_oui[] = {0x50, 0x6f, 0x9A, 0x09}; -static u8 p2p_vendor_spec[] = {0xdd, 0x05, 0x00, 0x08, 0x40, 0x03}; +static const u8 p2p_oui[] = {0x50, 0x6f, 0x9A, 0x09}; +static const u8 p2p_vendor_spec[] = {0xdd, 0x05, 0x00, 0x08, 0x40, 0x03}; #define WILC_IP_TIMEOUT_MS 15000 |