diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-08-26 12:18:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-26 13:15:47 -0700 |
commit | 485ebd618e9e34769c4e046404ddf5f26487d807 (patch) | |
tree | c2579002c66bd4917f5c58705fe24a3d865e6ab0 /scripts/gcc-plugin.sh | |
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>
Diffstat (limited to 'scripts/gcc-plugin.sh')
0 files changed, 0 insertions, 0 deletions