aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorJon Mason <[email protected]>2017-06-13 14:56:08 +0000
committerDavid S. Miller <[email protected]>2017-06-13 18:00:16 +0000
commit4798a714d6a78171d7df48c921dddd0dc004f0a0 (patch)
tree51a9213af505bf6434583650b8f11732e48fe2b0 /net/dsa/dsa.c
parentselftests/bpf: make correct use of exit codes in bpf selftests (diff)
downloadkernel-4798a714d6a78171d7df48c921dddd0dc004f0a0.tar.gz
kernel-4798a714d6a78171d7df48c921dddd0dc004f0a0.zip
of_mdio: move of_mdio_parse_addr to header file
The of_mdio_parse_addr() helper function is useful to other code, but the module dependency chain causes issues. To work around this, we can move of_mdio_parse_addr() to be an inline function in the header file. This gets rid of the dependencies and still allows for the reuse of code. Reported-by: Liviu Dudau <[email protected]> Signed-off-by: Jon Mason <[email protected]> Fixes: 342fa1964439 ("mdio: mux: make child bus walking more permissive and errors more verbose") Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions