Skip to content
Commit a84a757a authored by Max Filippov's avatar Max Filippov Committed by Joe Hershberger
Browse files

net/ethoc: use priv instead of dev internally



Don't use physical base address of registers directly, ioremap it first.
Save pointer in private struct ethoc and use that struct in all internal
functions.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent f0727120
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment