diff options
author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2022-08-07 20:13:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-16 15:10:41 +0200 |
commit | 17ca653712765ecefff6136b863895382e5989e8 (patch) | |
tree | d5c10f9698aeb235a024de4029278c8d64b0b6b7 /drivers | |
parent | 0e68ed8f4c4e8ff2fc9653aa1ff8f3acc760eb1a (diff) | |
download | linux-17ca653712765ecefff6136b863895382e5989e8.tar.gz linux-17ca653712765ecefff6136b863895382e5989e8.tar.bz2 linux-17ca653712765ecefff6136b863895382e5989e8.zip |
staging: vt6655: Rename function MACvEnableProtectMD
Rename MACvEnableProtectMD function to vt6655_mac_en_protect_md to
avoid CamelCase which is not accepted by checkpatch.pl and to clean up
namespace.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/927d7c6e7c9d5214e4faeca886efd2696b2abc31.1659892670.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 4 | ||||
-rw-r--r-- | drivers/staging/vt6655/mac.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index dc50bff4403f..ccfd4bfa0502 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -225,7 +225,7 @@ static void vt6655_mac_set_bits(void __iomem *iobase, u32 mask) iowrite32(reg_value, iobase + MAC_REG_ENCFG); } -static void MACvEnableProtectMD(void __iomem *iobase) +static void vt6655_mac_en_protect_md(void __iomem *iobase) { vt6655_mac_set_bits(iobase, ENCFG_PROTECTMD); } @@ -1475,7 +1475,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, if (changed & BSS_CHANGED_ERP_CTS_PROT) { if (conf->use_cts_prot) - MACvEnableProtectMD(priv->port_offset); + vt6655_mac_en_protect_md(priv->port_offset); else MACvDisableProtectMD(priv->port_offset); } diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 84d203c56b1f..4de9974e6c69 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -12,7 +12,7 @@ * Revision History: * 07-01-2003 Bryan YC Fan: Re-write codes to support VT3253 spec. * 08-25-2003 Kyle Hsu: Porting MAC functions from sim53. - * 09-03-2003 Bryan YC Fan: Add MACvDisableProtectMD & MACvEnableProtectMD + * 09-03-2003 Bryan YC Fan: Add MACvDisableProtectMD & vt6655_mac_en_protect_md */ #ifndef __MAC_H__ |