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

net: at91_can: fix the alignment issue

Alignment should match open parenthesis.

Link: https://lore.kernel.org/r/1624096589-13452-6-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 8ed1661c
...@@ -287,7 +287,8 @@ static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg, ...@@ -287,7 +287,8 @@ static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg,
} }
static inline void set_mb_mode_prio(const struct at91_priv *priv, static inline void set_mb_mode_prio(const struct at91_priv *priv,
unsigned int mb, enum at91_mb_mode mode, int prio) unsigned int mb, enum at91_mb_mode mode,
int prio)
{ {
at91_write(priv, AT91_MMR(mb), (mode << 24) | (prio << 16)); at91_write(priv, AT91_MMR(mb), (mode << 24) | (prio << 16));
} }
...@@ -1189,7 +1190,8 @@ static ssize_t mb0_id_show(struct device *dev, ...@@ -1189,7 +1190,8 @@ static ssize_t mb0_id_show(struct device *dev,
} }
static ssize_t mb0_id_store(struct device *dev, static ssize_t mb0_id_store(struct device *dev,
struct device_attribute *attr, const char *buf, size_t count) struct device_attribute *attr,
const char *buf, size_t count)
{ {
struct net_device *ndev = to_net_dev(dev); struct net_device *ndev = to_net_dev(dev);
struct at91_priv *priv = netdev_priv(ndev); struct at91_priv *priv = netdev_priv(ndev);
......
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