aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hortmann <[email protected]>2022-07-04 20:20:39 +0200
committerGreg Kroah-Hartman <[email protected]>2022-07-08 14:28:47 +0200
commit41c8e56baeca9075f84a6155e7423ffadc28197e (patch)
tree14c002364b889bd7de99ef0f7966807c5f72a19a
parent06f737ef8f5365dacb0e9f39f41a4fe32e92a79a (diff)
staging: vt6655: Rename MACvReadEtherAddress
Fix name of a macro that uses CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/3714f7cd3425e0ef0a3df0cc291131cdb85a3796.1656835310.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/vt6655/device_main.c2
-rw-r--r--drivers/staging/vt6655/mac.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 6cf21883d1fe..b9c57c661729 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -1722,7 +1722,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
}
/* initial to reload eeprom */
MACvInitialize(priv);
- MACvReadEtherAddress(priv->port_offset, priv->abyCurrentNetAddr);
+ vt6655_mac_read_ether_addr(priv->port_offset, priv->abyCurrentNetAddr);
/* Get RFType */
priv->byRFType = SROMbyReadEmbedded(priv->port_offset, EEP_OFS_RFTYPE);
diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h
index cfebd126e42f..ba5575d63db0 100644
--- a/drivers/staging/vt6655/mac.h
+++ b/drivers/staging/vt6655/mac.h
@@ -577,7 +577,7 @@ do { \
iowrite8(0, iobase + MAC_REG_PAGE1SEL); \
} while (0)
-#define MACvReadEtherAddress(iobase, mac_addr) \
+#define vt6655_mac_read_ether_addr(iobase, mac_addr) \
do { \
iowrite8(1, iobase + MAC_REG_PAGE1SEL); \
mac_addr[0] = ioread8(iobase + MAC_REG_PAR0); \