Commit 933850c4 authored by Peng Li's avatar Peng Li Committed by Marc Kleine-Budde

net: at91_can: add blank line after declarations

This patch fixes the checkpatch error about missing a blank line
after declarations.

Link: https://lore.kernel.org/r/1624096589-13452-3-git-send-email-huangguangbin2@huawei.comSigned-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 822a99c4
...@@ -515,6 +515,7 @@ static netdev_tx_t at91_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -515,6 +515,7 @@ static netdev_tx_t at91_start_xmit(struct sk_buff *skb, struct net_device *dev)
static inline void at91_activate_rx_low(const struct at91_priv *priv) static inline void at91_activate_rx_low(const struct at91_priv *priv)
{ {
u32 mask = get_mb_rx_low_mask(priv); u32 mask = get_mb_rx_low_mask(priv);
at91_write(priv, AT91_TCR, mask); at91_write(priv, AT91_TCR, mask);
} }
...@@ -529,6 +530,7 @@ static inline void at91_activate_rx_mb(const struct at91_priv *priv, ...@@ -529,6 +530,7 @@ static inline void at91_activate_rx_mb(const struct at91_priv *priv,
unsigned int mb) unsigned int mb)
{ {
u32 mask = 1 << mb; u32 mask = 1 << mb;
at91_write(priv, AT91_TCR, mask); at91_write(priv, AT91_TCR, mask);
} }
...@@ -807,6 +809,7 @@ static int at91_poll(struct napi_struct *napi, int quota) ...@@ -807,6 +809,7 @@ static int at91_poll(struct napi_struct *napi, int quota)
if (work_done < quota) { if (work_done < quota) {
/* enable IRQs for frame errors and all mailboxes >= rx_next */ /* enable IRQs for frame errors and all mailboxes >= rx_next */
u32 reg_ier = AT91_IRQ_ERR_FRAME; u32 reg_ier = AT91_IRQ_ERR_FRAME;
reg_ier |= get_irq_mb_rx(priv) & ~AT91_MB_MASK(priv->rx_next); reg_ier |= get_irq_mb_rx(priv) & ~AT91_MB_MASK(priv->rx_next);
napi_complete_done(napi, work_done); napi_complete_done(napi, work_done);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment