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
> -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
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