generic: b53: rename exported symbols to avoid upstream conflict
[openwrt/openwrt.git] / target / linux / generic / files / drivers / net / phy / b53 / b53_mmap.c
index ab1895e9b5ad47b746b07a7e75ab664964fa7986..0a21ff1de55ed41b3d0a26c1946d6b03b1585dc3 100644 (file)
@@ -205,7 +205,7 @@ static int b53_mmap_probe(struct platform_device *pdev)
        if (!pdata)
                return -EINVAL;
 
-       dev = b53_switch_alloc(&pdev->dev, &b53_mmap_ops, pdata->regs);
+       dev = b53_swconfig_switch_alloc(&pdev->dev, &b53_mmap_ops, pdata->regs);
        if (!dev)
                return -ENOMEM;
 
@@ -214,7 +214,7 @@ static int b53_mmap_probe(struct platform_device *pdev)
 
        platform_set_drvdata(pdev, dev);
 
-       return b53_switch_register(dev);
+       return b53_swconfig_switch_register(dev);
 }
 
 static int b53_mmap_remove(struct platform_device *pdev)