From: Philipp Hortmann Date: Mon, 4 Jul 2022 18:20:35 +0000 (+0200) Subject: staging: vt6655: Rename MACvWriteBSSIDAddress X-Git-Tag: v6.1-rc5~722^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06f737ef8f5365dacb0e9f39f41a4fe32e92a79a;p=platform%2Fkernel%2Flinux-starfive.git staging: vt6655: Rename MACvWriteBSSIDAddress Fix name of a macro that uses CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann Link: https://lore.kernel.org/r/1190d93181409679f9ae348a95ea269b48b1115c.1656835310.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 2049946..6cf2188 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1405,7 +1405,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, spin_lock_irqsave(&priv->lock, flags); - MACvWriteBSSIDAddress(priv->port_offset, conf->bssid); + vt6655_mac_write_bssid_addr(priv->port_offset, conf->bssid); spin_unlock_irqrestore(&priv->lock, flags); } diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 541c6ed..cfebd12 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -565,7 +565,7 @@ do { \ iowrite16(wData & ~(wBits), iobase + byRegOfs); \ } while (0) -#define MACvWriteBSSIDAddress(iobase, mac_addr) \ +#define vt6655_mac_write_bssid_addr(iobase, mac_addr) \ do { \ iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0); \