]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/net/wireless/ath/ath9k/ahb.c
ath9k: distinguish between device initialization and ath_softc init
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / ahb.c
index 0e65c51ba1769d8466f925c40959f9bbdd71accc..5618fc25d52ff71201e40c269fcda6ae8adc0bff 100644 (file)
@@ -119,7 +119,7 @@ static int ath_ahb_probe(struct platform_device *pdev)
        sc->bus_ops = &ath_ahb_bus_ops;
        sc->irq = irq;
 
-       ret = ath_attach(AR5416_AR9100_DEVID, sc);
+       ret = ath_init_device(AR5416_AR9100_DEVID, sc);
        if (ret != 0) {
                dev_err(&pdev->dev, "failed to attach device, err=%d\n", ret);
                ret = -ENODEV;