aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2015-03-05 20:35:05 +0000
committerDavid S. Miller <[email protected]>2015-03-06 05:18:20 +0000
commitb324c07ac4771a6ac8f57a3e1897e1b36b0a9ff0 (patch)
tree06bca8330ded3688b456c19a3f0a52b86e714188 /net/switchdev/switchdev.c
parentnet: dsa: update dsa_of_{probe, remove} to use a device pointer (diff)
downloadkernel-b324c07ac4771a6ac8f57a3e1897e1b36b0a9ff0.tar.gz
kernel-b324c07ac4771a6ac8f57a3e1897e1b36b0a9ff0.zip
net: dsa: allow deferred probing
In preparation for allowing a different model to register DSA switches, update dsa_of_probe() and dsa_probe() to return -EPROBE_DEFER where appropriate. Failure to find a phandle or Device Tree property is still fatal, but looking up the internal device structure associated with a Device Tree node is something that might need to be delayed based on driver probe ordering. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions