aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2016-08-18 22:30:14 +0000
committerDavid S. Miller <[email protected]>2016-08-20 00:15:36 +0000
commitd9338023fb8e60aa09014034a993f8ddc86c65fa (patch)
tree0ddb59520c731a0940d9de4a92cffc90b2296d38 /net/dsa/dsa.c
parentDocumentation: dt: bindings: Update Broadcom 7445 switch document (diff)
downloadkernel-d9338023fb8e60aa09014034a993f8ddc86c65fa.tar.gz
kernel-d9338023fb8e60aa09014034a993f8ddc86c65fa.zip
net: dsa: bcm_sf2: Make it a real platform device driver
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 in moving what bcm_sf2_sw_setup() did into the platform driver probe function. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r--net/dsa/dsa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index 9f5b47200365..8bda74e595a5 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -1088,7 +1088,6 @@ static int dsa_resume(struct device *d)
static SIMPLE_DEV_PM_OPS(dsa_pm_ops, dsa_suspend, dsa_resume);
static const struct of_device_id dsa_of_match_table[] = {
- { .compatible = "brcm,bcm7445-switch-v4.0" },
{ .compatible = "marvell,dsa", },
{}
};