Skip to content
Commit 878e3c1b authored by Igal Liberman's avatar Igal Liberman Committed by David S. Miller
Browse files

fsl/fman: Initialize fman->dev earlier



Currently, in a case of error, dev_err is using fman->dev
before its initialization and "(NULL device *)" is printed.
This patch fixes this issue.

Signed-off-by: default avatarIgal Liberman <igal.liberman@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 88f8b1bb
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