Skip to content

Commit 8993367

Browse files
Philipp Hortmanngregkh
authored andcommitted
staging: vt6655: Rename MACvClearStckDS
Rename MACvClearStckDS macro to vt6655_mac_clear_stck_ds 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/8ba4413d52e95406393755f48da065511b891f03.1658986804.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 81e8788 commit 8993367

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/staging/vt6655/mac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ void MACvInitialize(struct vnt_private *priv)
518518
{
519519
void __iomem *io_base = priv->port_offset;
520520
/* clear sticky bits */
521-
MACvClearStckDS(io_base);
521+
vt6655_mac_clear_stck_ds(io_base);
522522
/* disable force PME-enable */
523523
iowrite8(PME_OVR, io_base + MAC_REG_PMC1);
524524
/* only 3253 A */

drivers/staging/vt6655/mac.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ do { \
577577
iowrite32(DMACTL_RUN, iobase + MAC_REG_AC0DMACTL); \
578578
} while (0)
579579

580-
#define MACvClearStckDS(iobase) \
580+
#define vt6655_mac_clear_stck_ds(iobase) \
581581
do { \
582582
unsigned char byOrgValue; \
583583
byOrgValue = ioread8(iobase + MAC_REG_STICKHW); \

0 commit comments

Comments
 (0)