ath9k: nvmem for ath9k caldata
[openwrt/staging/thess.git] / package / kernel / mac80211 / patches / ath9k / 552-ath9k-ahb_of.patch
index fce6db21672e48c99683313c66ab262bc3b423db..7ce8bc5b82e39d11daf6d2fbfbe5fe2a93f0caea 100644 (file)
  static int ath_ahb_probe(struct platform_device *pdev)
  {
        void __iomem *mem;
-@@ -80,6 +324,17 @@ static int ath_ahb_probe(struct platform
+@@ -80,6 +318,17 @@ static int ath_ahb_probe(struct platform
        int ret = 0;
        struct ath_hw *ah;
        char hw_name[64];
  
        if (!dev_get_platdata(&pdev->dev)) {
                dev_err(&pdev->dev, "no platform data specified\n");
-@@ -122,13 +377,16 @@ static int ath_ahb_probe(struct platform
+@@ -122,13 +371,16 @@ static int ath_ahb_probe(struct platform
        sc->mem = mem;
        sc->irq = irq;
  
        if (ret) {
                dev_err(&pdev->dev, "failed to initialize device\n");
                goto err_irq;
-@@ -159,6 +417,9 @@ static int ath_ahb_remove(struct platfor
+@@ -159,6 +411,9 @@ static int ath_ahb_remove(struct platfor
                free_irq(sc->irq, sc);
                ieee80211_free_hw(sc->hw);
        }
  
        return 0;
  }
-@@ -168,6 +429,9 @@ static struct platform_driver ath_ahb_dr
+@@ -168,6 +423,9 @@ static struct platform_driver ath_ahb_dr
        .remove     = ath_ahb_remove,
        .driver         = {
                .name   = "ath9k",