Home
last modified time | relevance | path

Searched hist:"485 ebd618e9e34769c4e046404ddf5f26487d807" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/dsa/b53/
H A Db53_common.cdiff 485ebd618e9e34769c4e046404ddf5f26487d807 Fri Aug 26 14:18:29 CDT 2016 Florian Fainelli <f.fainelli@gmail.com> 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>