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>
This commit is contained in:
parent
81e878887f
commit
8993367219
2 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue