Skip to content
Commit 6b8666db authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Maureen Helm
Browse files

net: dsa: Provide proper address for dsa_api structure



The address of DSA API functions' structure available for usage from
the level of user's application (like for example in
samples/net/dsa/src) is stored in dsa context, not per DSA interface
device.

The struct dsa_context is defined once for all DSA (i.e. not master)
interfaces.

Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
parent cb4f7bc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment