Commit 89933672 authored by Philipp Hortmann's avatar Philipp Hortmann Committed by Greg Kroah-Hartman
Browse files

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: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/8ba4413d52e95406393755f48da065511b891f03.1658986804.git.philipp.g.hortmann@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 81e87888
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -518,7 +518,7 @@ void MACvInitialize(struct vnt_private *priv)
{
	void __iomem *io_base = priv->port_offset;
	/* clear sticky bits */
	MACvClearStckDS(io_base);
	vt6655_mac_clear_stck_ds(io_base);
	/* disable force PME-enable */
	iowrite8(PME_OVR, io_base + MAC_REG_PMC1);
	/* only 3253 A */
+1 −1
Original line number Diff line number Diff line
@@ -577,7 +577,7 @@ do { \
		iowrite32(DMACTL_RUN, iobase + MAC_REG_AC0DMACTL);	\
} while (0)

#define MACvClearStckDS(iobase)					\
#define vt6655_mac_clear_stck_ds(iobase)				\
do {									\
	unsigned char byOrgValue;					\
	byOrgValue = ioread8(iobase + MAC_REG_STICKHW);			\