commit | 485ebd618e9e34769c4e046404ddf5f26487d807 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Aug 26 12:18:29 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 26 13:15:47 2016 -0700 |
tree | c2579002c66bd4917f5c58705fe24a3d865e6ab0 | |
parent | ed35ca994f97211abdbc87063d8869ead99b508c [diff] |
net: dsa: b53: Initialize ds->ops in b53_switch_alloc In order to allow drivers to override specific dsa_switch_driver callbacks, initialize ds->ops to b53_switch_ops earlier, which avoids having to expose this structure to glue drivers. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>