mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
staging: vt6655: Rename function MACvSetCurrRx0DescAddr
Rename function MACvSetCurrRx0DescAddr to vt6655_mac_set_curr_rx_0_desc... to avoid CamelCase which is not accepted by checkpatch.pl. Remove unnecessary line break. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/14f7f2b06ba9f8656d91d4cb84c363e190095049.1662890990.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1870c16146
commit
253fa9b505
3 changed files with 3 additions and 4 deletions
|
@ -458,7 +458,7 @@ void CARDvSafeResetRx(struct vnt_private *priv)
|
|||
iowrite32(RX_PERPKT, priv->port_offset + MAC_REG_RXDMACTL0);
|
||||
iowrite32(RX_PERPKT, priv->port_offset + MAC_REG_RXDMACTL1);
|
||||
/* set MAC RD pointer */
|
||||
MACvSetCurrRx0DescAddr(priv, priv->rd0_pool_dma);
|
||||
vt6655_mac_set_curr_rx_0_desc_addr(priv, priv->rd0_pool_dma);
|
||||
|
||||
MACvSetCurrRx1DescAddr(priv, priv->rd1_pool_dma);
|
||||
}
|
||||
|
|
|
@ -527,7 +527,7 @@ void MACvInitialize(struct vnt_private *priv)
|
|||
* Return Value: none
|
||||
*
|
||||
*/
|
||||
void MACvSetCurrRx0DescAddr(struct vnt_private *priv, u32 curr_desc_addr)
|
||||
void vt6655_mac_set_curr_rx_0_desc_addr(struct vnt_private *priv, u32 curr_desc_addr)
|
||||
{
|
||||
void __iomem *io_base = priv->port_offset;
|
||||
unsigned short ww;
|
||||
|
|
|
@ -556,8 +556,7 @@ void MACvSetLongRetryLimit(struct vnt_private *priv, unsigned char byRetryLimit)
|
|||
bool MACbSoftwareReset(struct vnt_private *priv);
|
||||
bool MACbShutdown(struct vnt_private *priv);
|
||||
void MACvInitialize(struct vnt_private *priv);
|
||||
void MACvSetCurrRx0DescAddr(struct vnt_private *priv,
|
||||
u32 curr_desc_addr);
|
||||
void vt6655_mac_set_curr_rx_0_desc_addr(struct vnt_private *priv, u32 curr_desc_addr);
|
||||
void MACvSetCurrRx1DescAddr(struct vnt_private *priv,
|
||||
u32 curr_desc_addr);
|
||||
void MACvSetCurrTXDescAddr(int iTxType, struct vnt_private *priv,
|
||||
|
|
Loading…
Reference in a new issue