Skip to content

Commit

Permalink
can: rcar_can: fix typo in error message
Browse files Browse the repository at this point in the history
Fix typo in the first error message printed by rcar_can_open().

Based on the original patch by Vladimir Barinov.

Fixes: 862e2b6 ("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>
  • Loading branch information
Sergei Shtylyov authored and Marc Kleine-Budde committed Jul 12, 2015
1 parent c1a4c87 commit 3255f68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/can/rcar_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3255f68

Please sign in to comment.