diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-06-20 03:34:55 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-07-12 21:57:41 +0300 |
commit | 3255f68c132a8ed784b9fe1804ef4642a1d16b9a (patch) | |
tree | eecfe202183609c19814f8d66bd730d17d688ecb /drivers | |
parent | c1a4c87b06fa564d6e2760a12d4e5a09badc684b (diff) | |
download | linux-3255f68c132a8ed784b9fe1804ef4642a1d16b9a.tar.xz |
can: rcar_can: fix typo in error message
Fix typo in the first error message printed by rcar_can_open().
Based on the original patch by Vladimir Barinov.
Fixes: 862e2b6af941 ("can: rcar_can: support all input clocks")
Reported-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/can/rcar_can.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/can/rcar_can.c b/drivers/net/can/rcar_can.c index 2f9ebad4ff56..310a0cd20679 100644 --- a/drivers/net/can/rcar_can.c +++ b/drivers/net/can/rcar_can.c @@ -508,7 +508,8 @@ static int rcar_can_open(struct net_device *ndev) err = clk_prepare_enable(priv->clk); if (err) { - netdev_err(ndev, "failed to enable periperal clock, error %d\n", + netdev_err(ndev, + "failed to enable peripheral clock, error %d\n", err); goto out; } |