diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ahb.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ahb.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c index 25531f231b67..329e6bc137ab 100644 --- a/drivers/net/wireless/ath/ath9k/ahb.c +++ b/drivers/net/wireless/ath/ath9k/ahb.c | |||
@@ -69,6 +69,7 @@ static int ath_ahb_probe(struct platform_device *pdev) | |||
69 | int irq; | 69 | int irq; |
70 | int ret = 0; | 70 | int ret = 0; |
71 | struct ath_hw *ah; | 71 | struct ath_hw *ah; |
72 | char hw_name[64]; | ||
72 | 73 | ||
73 | if (!pdev->dev.platform_data) { | 74 | if (!pdev->dev.platform_data) { |
74 | dev_err(&pdev->dev, "no platform data specified\n"); | 75 | dev_err(&pdev->dev, "no platform data specified\n"); |
@@ -133,14 +134,11 @@ static int ath_ahb_probe(struct platform_device *pdev) | |||
133 | } | 134 | } |
134 | 135 | ||
135 | ah = sc->sc_ah; | 136 | ah = sc->sc_ah; |
137 | ath9k_hw_name(ah, hw_name, sizeof(hw_name)); | ||
136 | printk(KERN_INFO | 138 | printk(KERN_INFO |
137 | "%s: Atheros AR%s MAC/BB Rev:%x, " | 139 | "%s: %s mem=0x%lx, irq=%d\n", |
138 | "AR%s RF Rev:%x, mem=0x%lx, irq=%d\n", | ||
139 | wiphy_name(hw->wiphy), | 140 | wiphy_name(hw->wiphy), |
140 | ath_mac_bb_name(ah->hw_version.macVersion), | 141 | hw_name, |
141 | ah->hw_version.macRev, | ||
142 | ath_rf_name((ah->hw_version.analog5GhzRev & AR_RADIO_SREV_MAJOR)), | ||
143 | ah->hw_version.phyRev, | ||
144 | (unsigned long)mem, irq); | 142 | (unsigned long)mem, irq); |
145 | 143 | ||
146 | return 0; | 144 | return 0; |