Re: [PATCH net-next 8/9] net: dsa: bcm_sf2: Make it a real platform device driver

2016-06-05 Thread Florian Fainelli
Le 04/06/2016 13:55, Andrew Lunn a écrit : >> -static struct dsa_switch_driver bcm_sf2_switch_driver = { >> +static struct dsa_switch_driver bcm_sf2_switch_ops = { >> .tag_protocol = DSA_TAG_PROTO_BRCM, >> .probe = bcm_sf2_sw_drv_probe, >> .setup

Re: [PATCH net-next 8/9] net: dsa: bcm_sf2: Make it a real platform device driver

2016-06-04 Thread Andrew Lunn
> -static struct dsa_switch_driver bcm_sf2_switch_driver = { > +static struct dsa_switch_driver bcm_sf2_switch_ops = { > .tag_protocol = DSA_TAG_PROTO_BRCM, > .probe = bcm_sf2_sw_drv_probe, > .setup = bcm_sf2_sw_setup, Does this also al

[PATCH net-next 8/9] net: dsa: bcm_sf2: Make it a real platform device driver

2016-06-03 Thread Florian Fainelli
The Broadcom Starfighter 2 switch driver should be a proper platform driver, now that the DSA code has been updated to allow that, register a switch device, feed it with the proper configuration data coming from Device Tree and register our switch device with DSA. The bulk of the changes consist i