generic: b53: rename exported symbols to avoid upstream conflict
[openwrt/openwrt.git] / target / linux / generic / files / drivers / net / phy / b53 / b53_spi.c
index efc8f7ee89f2b359a08eb190a6394bcb767a568b..400454df18c119b63da29e1082fe33ed671cb9de 100644 (file)
@@ -288,14 +288,14 @@ static int b53_spi_probe(struct spi_device *spi)
        struct b53_device *dev;
        int ret;
 
-       dev = b53_switch_alloc(&spi->dev, &b53_spi_ops, spi);
+       dev = b53_swconfig_switch_alloc(&spi->dev, &b53_spi_ops, spi);
        if (!dev)
                return -ENOMEM;
 
        if (spi->dev.platform_data)
                dev->pdata = spi->dev.platform_data;
 
-       ret = b53_switch_register(dev);
+       ret = b53_swconfig_switch_register(dev);
        if (ret)
                return ret;